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
- SqlFacetAttribute.cs
- PersonalizationStateQuery.cs
- MouseDevice.cs
- HttpInputStream.cs
- CommandBindingCollection.cs
- TextEditorTyping.cs
- UnsafeNativeMethods.cs
- _SslSessionsCache.cs
- ToolboxComponentsCreatedEventArgs.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- SimpleApplicationHost.cs
- WorkflowDefinitionDispenser.cs
- HitTestWithPointDrawingContextWalker.cs
- DockPanel.cs
- EncodingInfo.cs
- WindowsFormsHostAutomationPeer.cs
- UnsafeNativeMethods.cs
- XmlExtensionFunction.cs
- LexicalChunk.cs
- StyleTypedPropertyAttribute.cs
- ObjectDataSourceView.cs
- UpdateCommandGenerator.cs
- Material.cs
- TypeToken.cs
- XomlCompiler.cs
- XmlSchemaComplexContent.cs
- SystemIPGlobalProperties.cs
- OdbcDataAdapter.cs
- ObjectItemCollection.cs
- PcmConverter.cs
- XmlTextReader.cs
- SchemaImporterExtensionElement.cs
- Pen.cs
- TreeNodeStyleCollection.cs
- IfJoinedCondition.cs
- ItemsControlAutomationPeer.cs
- PrePrepareMethodAttribute.cs
- SortedDictionary.cs
- ControlBuilder.cs
- _SslStream.cs
- xmlformatgeneratorstatics.cs
- RunInstallerAttribute.cs
- ResourceDescriptionAttribute.cs
- Compress.cs
- TreeNode.cs
- ManipulationStartedEventArgs.cs
- ExpressionPrinter.cs
- SqlNode.cs
- OptionalMessageQuery.cs
- RowType.cs
- XmlTypeAttribute.cs
- VectorCollectionConverter.cs
- SpanIndex.cs
- BitmapCacheBrush.cs
- Parser.cs
- AnnotationAuthorChangedEventArgs.cs
- ComboBoxRenderer.cs
- BitmapDecoder.cs
- DbConnectionFactory.cs
- Compiler.cs
- VisualStateGroup.cs
- FileNotFoundException.cs
- DefaultWorkflowSchedulerService.cs
- XmlMembersMapping.cs
- TextDecorationCollectionConverter.cs
- XmlDictionaryWriter.cs
- AccessKeyManager.cs
- GeometryModel3D.cs
- unsafenativemethodstextservices.cs
- EventWaitHandle.cs
- MenuEventArgs.cs
- StrongName.cs
- EnumerationRangeValidationUtil.cs
- SchemaComplexType.cs
- DataGridColumnFloatingHeader.cs
- ClientConfigurationHost.cs
- TlsSspiNegotiation.cs
- CompositeControl.cs
- PolicyLevel.cs
- EntitySet.cs
- CompensatableSequenceActivity.cs
- XmlFormatReaderGenerator.cs
- JapaneseCalendar.cs
- XmlSchemaObject.cs
- XmlNamedNodeMap.cs
- LabelLiteral.cs
- StorageMappingFragment.cs
- PiiTraceSource.cs
- SecurityAlgorithmSuiteConverter.cs
- SqlParameter.cs
- ThreadStartException.cs
- InkPresenterAutomationPeer.cs
- DataBindEngine.cs
- PrimaryKeyTypeConverter.cs
- CorrelationHandle.cs
- ReflectEventDescriptor.cs
- UnsignedPublishLicense.cs
- NativeMethods.cs
- PageThemeCodeDomTreeGenerator.cs
- RoleManagerSection.cs