Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / SelectedGridItemChangedEvent.cs / 1305376 / SelectedGridItemChangedEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; ////// /// The event class that is created when the selected GridItem in the PropertyGrid is changed by the user. /// public class SelectedGridItemChangedEventArgs : EventArgs { private GridItem oldSelection; private GridItem newSelection; ////// /// Constructs a SelectedGridItemChangedEventArgs object. /// public SelectedGridItemChangedEventArgs(GridItem oldSel, GridItem newSel) { this.oldSelection = oldSel; this.newSelection = newSel; } ////// /// The newly selected GridItem object /// public GridItem NewSelection { get { return this.newSelection; } } ////// /// The previously selected GridItem object. This can be null. /// public GridItem OldSelection { get { return this.oldSelection; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; ////// /// The event class that is created when the selected GridItem in the PropertyGrid is changed by the user. /// public class SelectedGridItemChangedEventArgs : EventArgs { private GridItem oldSelection; private GridItem newSelection; ////// /// Constructs a SelectedGridItemChangedEventArgs object. /// public SelectedGridItemChangedEventArgs(GridItem oldSel, GridItem newSel) { this.oldSelection = oldSel; this.newSelection = newSel; } ////// /// The newly selected GridItem object /// public GridItem NewSelection { get { return this.newSelection; } } ////// /// The previously selected GridItem object. This can be null. /// public GridItem OldSelection { get { return this.oldSelection; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HtmlInputControl.cs
- XhtmlBasicValidationSummaryAdapter.cs
- XsdCachingReader.cs
- SqlClientWrapperSmiStream.cs
- ReturnType.cs
- PeekCompletedEventArgs.cs
- DispatcherTimer.cs
- SqlFormatter.cs
- DirectionalAction.cs
- XPathQilFactory.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- CodePropertyReferenceExpression.cs
- SchemaCollectionPreprocessor.cs
- GeneralTransform3DTo2D.cs
- CryptographicAttribute.cs
- TypeExtensionSerializer.cs
- AdornerLayer.cs
- EntityDataSourceStatementEditorForm.cs
- XmlSchemaAny.cs
- AutomationEventArgs.cs
- MenuItemStyleCollection.cs
- FunctionCommandText.cs
- GifBitmapEncoder.cs
- FocusChangedEventArgs.cs
- UnsettableComboBox.cs
- ToolStripTextBox.cs
- SecurityPermission.cs
- MulticastDelegate.cs
- GeneralTransform3DTo2DTo3D.cs
- AttributedMetaModel.cs
- XmlnsDictionary.cs
- ProvideValueServiceProvider.cs
- UpdatePanelTriggerCollection.cs
- SessionState.cs
- NullReferenceException.cs
- CompilationRelaxations.cs
- _WinHttpWebProxyDataBuilder.cs
- WpfKnownTypeInvoker.cs
- SrgsDocument.cs
- NativeMethodsCLR.cs
- SessionStateItemCollection.cs
- XamlWrapperReaders.cs
- EDesignUtil.cs
- ObsoleteAttribute.cs
- RangeContentEnumerator.cs
- PageCatalogPart.cs
- CommunicationObjectAbortedException.cs
- HtmlHistory.cs
- XsltConvert.cs
- Size.cs
- OutKeywords.cs
- ActiveXSite.cs
- TempFiles.cs
- BooleanExpr.cs
- UnknownBitmapDecoder.cs
- WebResponse.cs
- SiteMapSection.cs
- DateTimeSerializationSection.cs
- ErrorHandler.cs
- smtpconnection.cs
- SafePEFileHandle.cs
- QueryRewriter.cs
- FormsAuthenticationTicket.cs
- TabItem.cs
- NameSpaceExtractor.cs
- ValueExpressions.cs
- ButtonPopupAdapter.cs
- _PooledStream.cs
- _NestedMultipleAsyncResult.cs
- ButtonBase.cs
- StrongNameKeyPair.cs
- HttpException.cs
- StringAnimationUsingKeyFrames.cs
- WindowsRegion.cs
- KeyedHashAlgorithm.cs
- TrackBarDesigner.cs
- TextProperties.cs
- DocComment.cs
- RelationshipType.cs
- ConfigurationValues.cs
- TrackingValidationObjectDictionary.cs
- WizardSideBarListControlItemEventArgs.cs
- CodeCompiler.cs
- Rights.cs
- ActivationService.cs
- LiteralControl.cs
- WinInetCache.cs
- CollectionEditVerbManager.cs
- EFColumnProvider.cs
- GridItemCollection.cs
- RuleInfoComparer.cs
- InternalSafeNativeMethods.cs
- HtmlInputCheckBox.cs
- Model3DGroup.cs
- XmlExpressionDumper.cs
- ColumnPropertiesGroup.cs
- newitemfactory.cs
- Point3DValueSerializer.cs
- PtsCache.cs
- AssociatedControlConverter.cs