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
- InstancePersistenceContext.cs
- SplineQuaternionKeyFrame.cs
- DnsPermission.cs
- RadialGradientBrush.cs
- BeginStoryboard.cs
- OracleCommandSet.cs
- TemplateKeyConverter.cs
- BuildManager.cs
- IISUnsafeMethods.cs
- ObjectFullSpanRewriter.cs
- PopOutPanel.cs
- ProviderMetadataCachedInformation.cs
- DropSource.cs
- XappLauncher.cs
- BridgeDataRecord.cs
- DbProviderSpecificTypePropertyAttribute.cs
- SequenceDesigner.cs
- MemberRelationshipService.cs
- IgnorePropertiesAttribute.cs
- InstanceDescriptor.cs
- NotifyParentPropertyAttribute.cs
- XmlReader.cs
- LiteralLink.cs
- AttachedPropertyDescriptor.cs
- httpserverutility.cs
- WaitHandleCannotBeOpenedException.cs
- RadioButton.cs
- TypeDependencyAttribute.cs
- FixedSOMTableRow.cs
- Application.cs
- BaseDataList.cs
- GeneralTransform2DTo3D.cs
- DesignerEventService.cs
- Binding.cs
- RoleManagerSection.cs
- BitmapCodecInfo.cs
- XmlNodeChangedEventArgs.cs
- Automation.cs
- LineSegment.cs
- StaticSiteMapProvider.cs
- TdsParser.cs
- SelectionWordBreaker.cs
- DataFieldCollectionEditor.cs
- NetworkStream.cs
- DirectoryObjectSecurity.cs
- UInt64.cs
- XmlParserContext.cs
- MasterPage.cs
- EncoderBestFitFallback.cs
- ComEventsSink.cs
- HybridCollection.cs
- WindowsFormsHostAutomationPeer.cs
- SystemResourceHost.cs
- GridViewCancelEditEventArgs.cs
- SafeCryptContextHandle.cs
- SendKeys.cs
- ObjectRef.cs
- TypedElement.cs
- ContractMethodParameterInfo.cs
- XmlSchemaGroup.cs
- VideoDrawing.cs
- XmlSequenceWriter.cs
- LocatorPart.cs
- IgnoreDeviceFilterElementCollection.cs
- PropertyItemInternal.cs
- XmlNodeChangedEventArgs.cs
- Rules.cs
- AssociationSetMetadata.cs
- ObjectItemAttributeAssemblyLoader.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- TextTreeInsertElementUndoUnit.cs
- X509Chain.cs
- CalendarAutoFormat.cs
- SqlDataSource.cs
- LinkLabel.cs
- ClaimTypeRequirement.cs
- DockProviderWrapper.cs
- BrowserCapabilitiesFactoryBase.cs
- MenuItemBinding.cs
- RuntimeResourceSet.cs
- SerialStream.cs
- LineBreakRecord.cs
- FormViewModeEventArgs.cs
- ConfigurationLocation.cs
- ArrayTypeMismatchException.cs
- MultiSelectRootGridEntry.cs
- XsltSettings.cs
- SQLDecimal.cs
- mediaeventshelper.cs
- EventLogPermissionEntryCollection.cs
- CustomValidator.cs
- DesignerActionService.cs
- DescriptionAttribute.cs
- ToolStripComboBox.cs
- ArcSegment.cs
- Win32Exception.cs
- WebConfigurationManager.cs
- SqlRowUpdatingEvent.cs
- StyleXamlParser.cs
- Int32Storage.cs