Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PageThemeCodeDomTreeGenerator.cs
- MemoryResponseElement.cs
- LassoHelper.cs
- ThumbButtonInfoCollection.cs
- DbMetaDataColumnNames.cs
- ThreadStartException.cs
- IdentitySection.cs
- TextCharacters.cs
- FlowDocument.cs
- SourceFileInfo.cs
- TempFiles.cs
- SynchronizedDispatch.cs
- TraceHandler.cs
- querybuilder.cs
- StateChangeEvent.cs
- DynamicDataExtensions.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- RectangleConverter.cs
- TableLayoutPanelCellPosition.cs
- CodeRegionDirective.cs
- ReturnType.cs
- CssClassPropertyAttribute.cs
- sqlcontext.cs
- BevelBitmapEffect.cs
- CodeIdentifier.cs
- TraceLog.cs
- RemoteHelper.cs
- RequestCache.cs
- ControlParameter.cs
- XmlSchemaSimpleContentRestriction.cs
- TreeView.cs
- DriveNotFoundException.cs
- SessionParameter.cs
- Triangle.cs
- ListItemsCollectionEditor.cs
- WebScriptMetadataInstanceContextProvider.cs
- XpsLiterals.cs
- Token.cs
- CurrentTimeZone.cs
- ExpandoObject.cs
- OutputWindow.cs
- TextBreakpoint.cs
- MenuRendererStandards.cs
- DataTableClearEvent.cs
- AttributeInfo.cs
- MsdtcClusterUtils.cs
- HitTestResult.cs
- DomainUpDown.cs
- Ops.cs
- GlobalItem.cs
- MediaContextNotificationWindow.cs
- XmlDataSourceView.cs
- EntityAdapter.cs
- HitTestResult.cs
- MultiAsyncResult.cs
- DataColumnChangeEvent.cs
- DynamicResourceExtension.cs
- XPathDescendantIterator.cs
- EncoderExceptionFallback.cs
- LogArchiveSnapshot.cs
- FormViewInsertedEventArgs.cs
- FontWeight.cs
- CollectionChangeEventArgs.cs
- CompleteWizardStep.cs
- TableItemProviderWrapper.cs
- Style.cs
- _LocalDataStore.cs
- ZipFileInfoCollection.cs
- XamlSerializerUtil.cs
- SqlBulkCopyColumnMappingCollection.cs
- TypeSystemProvider.cs
- DesignerProperties.cs
- ScriptResourceAttribute.cs
- Int32Rect.cs
- AssemblyUtil.cs
- DefaultPrintController.cs
- HyperLinkField.cs
- DefaultObjectMappingItemCollection.cs
- AmbientProperties.cs
- DataServiceHost.cs
- SchemaImporter.cs
- ActivityCodeDomReferenceService.cs
- RuntimeVariableList.cs
- ISAPIApplicationHost.cs
- CodeCompileUnit.cs
- Activation.cs
- securitymgrsite.cs
- SocketElement.cs
- CompilerGeneratedAttribute.cs
- elementinformation.cs
- HtmlInputPassword.cs
- UIPropertyMetadata.cs
- BinaryObjectInfo.cs
- UpdatePanel.cs
- ConfigurationLocation.cs
- InputBinding.cs
- InplaceBitmapMetadataWriter.cs
- FormViewInsertedEventArgs.cs
- ModulesEntry.cs
- XmlExtensionFunction.cs