Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / SelectedGridItemChangedEvent.cs / 1 / 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
- ScriptMethodAttribute.cs
- SmtpNetworkElement.cs
- OptionalRstParameters.cs
- ExpressionConverter.cs
- TextServicesCompartment.cs
- SqlDataAdapter.cs
- XmlQueryContext.cs
- CacheRequest.cs
- ObjectQueryProvider.cs
- ConfigXmlSignificantWhitespace.cs
- RawUIStateInputReport.cs
- IgnoreSectionHandler.cs
- SplitterEvent.cs
- SystemNetworkInterface.cs
- CodeDomSerializerBase.cs
- ConnectionsZoneAutoFormat.cs
- State.cs
- User.cs
- DataGridViewCellValidatingEventArgs.cs
- PhysicalFontFamily.cs
- AuthorizationRuleCollection.cs
- odbcmetadatacollectionnames.cs
- WebPartVerbsEventArgs.cs
- FieldNameLookup.cs
- ExternalDataExchangeClient.cs
- BamlLocalizableResourceKey.cs
- ReadOnlyCollection.cs
- DataErrorValidationRule.cs
- SecurityTokenInclusionMode.cs
- Win32MouseDevice.cs
- streamingZipPartStream.cs
- WinEventQueueItem.cs
- Internal.cs
- LayoutInformation.cs
- LocatorGroup.cs
- PersonalizationEntry.cs
- ICollection.cs
- ObjectDataSource.cs
- AssemblyBuilderData.cs
- MobileUserControl.cs
- MDIClient.cs
- Compiler.cs
- Types.cs
- ProtocolElementCollection.cs
- DrawListViewColumnHeaderEventArgs.cs
- CopyOnWriteList.cs
- StreamBodyWriter.cs
- DrawingAttributeSerializer.cs
- EndpointAddressMessageFilterTable.cs
- CorrelationManager.cs
- BaseValidator.cs
- EdmSchemaAttribute.cs
- Expressions.cs
- CacheDependency.cs
- MemoryStream.cs
- Viewport3DVisual.cs
- QuadraticBezierSegment.cs
- XomlSerializationHelpers.cs
- CustomSignedXml.cs
- _ConnectionGroup.cs
- LinearKeyFrames.cs
- ExceptionRoutedEventArgs.cs
- ObjectAnimationUsingKeyFrames.cs
- Constants.cs
- ContentHostHelper.cs
- DataGridViewAccessibleObject.cs
- AnimationLayer.cs
- WhiteSpaceTrimStringConverter.cs
- OperationCanceledException.cs
- DataRowView.cs
- RtfFormatStack.cs
- XmlWhitespace.cs
- IgnoreDataMemberAttribute.cs
- COSERVERINFO.cs
- ActiveXSite.cs
- SqlStatistics.cs
- TdsValueSetter.cs
- InternalBufferOverflowException.cs
- WhitespaceSignificantCollectionAttribute.cs
- CustomAssemblyResolver.cs
- FontEmbeddingManager.cs
- InvalidAsynchronousStateException.cs
- MatrixValueSerializer.cs
- UserControl.cs
- DataGridLinkButton.cs
- DataServiceQueryProvider.cs
- SqlDataSourceCache.cs
- XmlSchemaSubstitutionGroup.cs
- TableLayoutStyle.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- EntityProxyTypeInfo.cs
- TextClipboardData.cs
- XmlSubtreeReader.cs
- SiteMapSection.cs
- SystemDiagnosticsSection.cs
- Publisher.cs
- CustomAttributeFormatException.cs
- HtmlInputCheckBox.cs
- RemoteDebugger.cs
- HyperLinkField.cs