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
- IDataContractSurrogate.cs
- tabpagecollectioneditor.cs
- AuthenticatingEventArgs.cs
- x509store.cs
- PrintEvent.cs
- X509ChainPolicy.cs
- ErrorRuntimeConfig.cs
- SchemaImporterExtension.cs
- RenderTargetBitmap.cs
- RuleInfoComparer.cs
- Encoder.cs
- FontStyles.cs
- __ComObject.cs
- DefaultIfEmptyQueryOperator.cs
- Select.cs
- DockPattern.cs
- PeekCompletedEventArgs.cs
- DataObject.cs
- WrappedReader.cs
- SoapIgnoreAttribute.cs
- IgnoreFlushAndCloseStream.cs
- HttpProfileGroupBase.cs
- DataSourceCache.cs
- XmlAnyElementAttributes.cs
- AutomationElementCollection.cs
- ContainerUIElement3D.cs
- TreeWalkHelper.cs
- RectIndependentAnimationStorage.cs
- SafeFileMappingHandle.cs
- CalculatedColumn.cs
- RoleService.cs
- BoundPropertyEntry.cs
- FileIOPermission.cs
- RoleService.cs
- ProvideValueServiceProvider.cs
- PageClientProxyGenerator.cs
- Trigger.cs
- MessageAction.cs
- MimeFormImporter.cs
- ApplicationServicesHostFactory.cs
- SafeMarshalContext.cs
- SqlComparer.cs
- wgx_render.cs
- ServiceModelConfigurationSection.cs
- SchemaExporter.cs
- CodeSnippetTypeMember.cs
- BinaryCommonClasses.cs
- AbsoluteQuery.cs
- CallbackValidator.cs
- SafeFileMappingHandle.cs
- HotSpot.cs
- MdiWindowListStrip.cs
- MatrixKeyFrameCollection.cs
- PlatformNotSupportedException.cs
- DataListCommandEventArgs.cs
- RegionInfo.cs
- WebPartDisplayModeEventArgs.cs
- WebPartEditorCancelVerb.cs
- ScriptMethodAttribute.cs
- ReferenceEqualityComparer.cs
- Parallel.cs
- CapiNative.cs
- DrawingState.cs
- StringPropertyBuilder.cs
- CellQuery.cs
- SmiContext.cs
- DesignRelation.cs
- X509Utils.cs
- OleDbErrorCollection.cs
- LambdaExpression.cs
- Certificate.cs
- DtdParser.cs
- DocumentSchemaValidator.cs
- InputLanguageSource.cs
- DataGridViewTextBoxCell.cs
- AppDomain.cs
- ListViewSortEventArgs.cs
- designeractionbehavior.cs
- shaperfactoryquerycacheentry.cs
- arc.cs
- OutputCacheSettingsSection.cs
- Zone.cs
- AppSettingsExpressionBuilder.cs
- PathNode.cs
- WebWorkflowRole.cs
- XamlReader.cs
- DSASignatureFormatter.cs
- RequestCachePolicyConverter.cs
- Stroke.cs
- DataBindingHandlerAttribute.cs
- PathSegmentCollection.cs
- SchemaDeclBase.cs
- ContourSegment.cs
- DrawTreeNodeEventArgs.cs
- JoinCqlBlock.cs
- XamlTreeBuilder.cs
- AttributeUsageAttribute.cs
- ContentElementCollection.cs
- CompilerLocalReference.cs
- ImageButton.cs