Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MetabaseReader.cs
- XPathParser.cs
- ConfigXmlWhitespace.cs
- DriveNotFoundException.cs
- TraceSource.cs
- ObjectCloneHelper.cs
- SByteStorage.cs
- FormConverter.cs
- _AcceptOverlappedAsyncResult.cs
- HtmlForm.cs
- SimpleModelProvider.cs
- WebDescriptionAttribute.cs
- FlagPanel.cs
- ClientData.cs
- PolicyException.cs
- HttpStreams.cs
- UInt32.cs
- UserInitiatedNavigationPermission.cs
- EncoderReplacementFallback.cs
- DbParameterCollectionHelper.cs
- DocumentPageHost.cs
- ColorBlend.cs
- SqlSupersetValidator.cs
- TextDecorationLocationValidation.cs
- ImportCatalogPart.cs
- IProvider.cs
- XmlTextReaderImpl.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- OutputCacheEntry.cs
- ElementMarkupObject.cs
- UMPAttributes.cs
- SmiEventSink_DeferedProcessing.cs
- DataGridViewDesigner.cs
- TCEAdapterGenerator.cs
- InvalidCommandTreeException.cs
- CharacterString.cs
- RepeaterItemCollection.cs
- SQLDouble.cs
- ArgumentNullException.cs
- StylusCaptureWithinProperty.cs
- SystemFonts.cs
- RemoteWebConfigurationHostServer.cs
- ReaderContextStackData.cs
- BasicCellRelation.cs
- ObjectHelper.cs
- TextViewSelectionProcessor.cs
- WebPartAuthorizationEventArgs.cs
- ErrorActivity.cs
- CommonDialog.cs
- SerializationSectionGroup.cs
- SafeHandle.cs
- FormViewCommandEventArgs.cs
- FixedHighlight.cs
- SimpleTypeResolver.cs
- HtmlGenericControl.cs
- PerformanceCounterPermissionEntry.cs
- Site.cs
- CSharpCodeProvider.cs
- PassportAuthenticationEventArgs.cs
- ContextMenuStripActionList.cs
- JsonFormatReaderGenerator.cs
- DataBoundControlAdapter.cs
- SocketInformation.cs
- VBCodeProvider.cs
- SizeChangedEventArgs.cs
- WindowsNonControl.cs
- OperationParameterInfo.cs
- NonParentingControl.cs
- AsymmetricSecurityBindingElement.cs
- SqlUdtInfo.cs
- FileDialogPermission.cs
- XPathNavigator.cs
- XsdBuilder.cs
- ErrorHandler.cs
- OutputBuffer.cs
- RMPermissions.cs
- ArgumentException.cs
- ListItem.cs
- ResourceManager.cs
- SpecialNameAttribute.cs
- PrintControllerWithStatusDialog.cs
- ComplexBindingPropertiesAttribute.cs
- NumericExpr.cs
- BatchServiceHost.cs
- ToolStripDropDownMenu.cs
- ImageCreator.cs
- TcpWorkerProcess.cs
- ObjectQuery.cs
- CodeTypeDeclaration.cs
- CreateUserErrorEventArgs.cs
- EventMappingSettings.cs
- ConsoleCancelEventArgs.cs
- Dispatcher.cs
- RadioButtonBaseAdapter.cs
- HorizontalAlignConverter.cs
- DataStorage.cs
- StrokeNodeData.cs
- SettingsPropertyValueCollection.cs
- Material.cs
- ConfigXmlCDataSection.cs