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
- SuppressIldasmAttribute.cs
- UriScheme.cs
- ServiceBusyException.cs
- BitVector32.cs
- Byte.cs
- DocumentAutomationPeer.cs
- AuthenticationConfig.cs
- arclist.cs
- panel.cs
- HttpHandlersSection.cs
- WebPartTransformerCollection.cs
- LoginStatusDesigner.cs
- PublisherIdentityPermission.cs
- ErrorWebPart.cs
- StorageAssociationTypeMapping.cs
- DecoratedNameAttribute.cs
- BatchWriter.cs
- DropShadowBitmapEffect.cs
- Control.cs
- OleDbDataAdapter.cs
- StylusPointCollection.cs
- BatchServiceHost.cs
- Vector.cs
- ExpressionBuilderContext.cs
- Accessible.cs
- XPathDocumentIterator.cs
- GlyphTypeface.cs
- HeaderCollection.cs
- InitializationEventAttribute.cs
- EmbeddedObject.cs
- XmlNode.cs
- ResourceKey.cs
- RecommendedAsConfigurableAttribute.cs
- DbMetaDataCollectionNames.cs
- MultiView.cs
- TimeStampChecker.cs
- DecoratedNameAttribute.cs
- PngBitmapEncoder.cs
- Documentation.cs
- RemoteWebConfigurationHostServer.cs
- QilParameter.cs
- XmlCodeExporter.cs
- BulletChrome.cs
- Model3D.cs
- FormsAuthenticationModule.cs
- AttachedPropertyDescriptor.cs
- TableLayoutPanelCellPosition.cs
- MatrixTransform.cs
- DesignerUtils.cs
- CompositeTypefaceMetrics.cs
- EdmFunctions.cs
- SymbolPair.cs
- MissingManifestResourceException.cs
- CrossSiteScriptingValidation.cs
- SharedConnectionInfo.cs
- Point.cs
- GraphicsPathIterator.cs
- VirtualPathProvider.cs
- TreeViewItem.cs
- LongTypeConverter.cs
- BroadcastEventHelper.cs
- SystemIcmpV6Statistics.cs
- GlyphsSerializer.cs
- ResizeGrip.cs
- SqlDataSourceConfigureFilterForm.cs
- RuntimeVariablesExpression.cs
- PageHandlerFactory.cs
- JournalNavigationScope.cs
- SqlRewriteScalarSubqueries.cs
- WebBrowserPermission.cs
- DeferredBinaryDeserializerExtension.cs
- Cursors.cs
- DesignTimeHTMLTextWriter.cs
- CurrentTimeZone.cs
- OpenTypeMethods.cs
- ManagedFilter.cs
- MatrixAnimationUsingKeyFrames.cs
- TimeStampChecker.cs
- XmlEntityReference.cs
- ipaddressinformationcollection.cs
- RangeValidator.cs
- BaseCodePageEncoding.cs
- ServerIdentity.cs
- HttpWebRequestElement.cs
- DynamicValueConverter.cs
- NonVisualControlAttribute.cs
- RemoteWebConfigurationHostStream.cs
- TypeConverterBase.cs
- PropertyOrder.cs
- ObjectSet.cs
- TextLineResult.cs
- BooleanConverter.cs
- CorrelationTokenTypeConvertor.cs
- ReflectEventDescriptor.cs
- UriExt.cs
- ListViewTableCell.cs
- OneOfScalarConst.cs
- DocumentOrderQuery.cs
- PageFunction.cs
- SrgsDocumentParser.cs