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
- BrushConverter.cs
- ClientRuntimeConfig.cs
- DetailsViewInsertedEventArgs.cs
- StylusOverProperty.cs
- XmlTextWriter.cs
- LicenseException.cs
- MenuItemStyleCollection.cs
- FreezableOperations.cs
- RegionData.cs
- MachineSettingsSection.cs
- KeyedHashAlgorithm.cs
- URL.cs
- DrawingContextWalker.cs
- IISMapPath.cs
- SharedStatics.cs
- ActivityBuilder.cs
- HandledMouseEvent.cs
- TextServicesPropertyRanges.cs
- InternalRelationshipCollection.cs
- SqlBinder.cs
- Timer.cs
- WebPartChrome.cs
- DataContractFormatAttribute.cs
- NumericUpDownAcceleration.cs
- FormViewDesigner.cs
- SmiRecordBuffer.cs
- UserControlCodeDomTreeGenerator.cs
- DefaultSettingsSection.cs
- ColumnCollection.cs
- StringResourceManager.cs
- CodeAttachEventStatement.cs
- PageOrientation.cs
- ComboBox.cs
- PerfCounters.cs
- TypeCacheManager.cs
- ScriptServiceAttribute.cs
- TreeWalker.cs
- MetadataWorkspace.cs
- PointUtil.cs
- WebUtil.cs
- ParameterRetriever.cs
- AutomationElementCollection.cs
- XMLUtil.cs
- BitmapEffectDrawing.cs
- WCFServiceClientProxyGenerator.cs
- StatusBarDrawItemEvent.cs
- SingleResultAttribute.cs
- RegionInfo.cs
- StatusBar.cs
- DecimalAnimation.cs
- FlowLayoutPanel.cs
- BitmapEffectInput.cs
- IPHostEntry.cs
- DiscoveryEndpoint.cs
- TabControlEvent.cs
- TextPointer.cs
- RegexCaptureCollection.cs
- RsaSecurityToken.cs
- NativeMethods.cs
- QuarticEase.cs
- ExceptionHelpers.cs
- Utils.cs
- JumpItem.cs
- TypeSystem.cs
- OpenTypeLayoutCache.cs
- SQLStringStorage.cs
- DataGridViewHitTestInfo.cs
- EntityCommand.cs
- AssemblyInfo.cs
- MergablePropertyAttribute.cs
- DetailsViewPageEventArgs.cs
- BaseCAMarshaler.cs
- TextHidden.cs
- IssuanceLicense.cs
- DataGridViewButtonColumn.cs
- CacheChildrenQuery.cs
- DefaultEventAttribute.cs
- MenuItem.cs
- NullableDecimalAverageAggregationOperator.cs
- OutputCacheSettingsSection.cs
- streamingZipPartStream.cs
- NavigationProperty.cs
- WindowShowOrOpenTracker.cs
- IndicFontClient.cs
- Domain.cs
- VBCodeProvider.cs
- UnsafeNativeMethods.cs
- HtmlInputCheckBox.cs
- SimpleRecyclingCache.cs
- Unit.cs
- GeometryGroup.cs
- IFormattable.cs
- Directory.cs
- ConnectionStringsExpressionBuilder.cs
- XmlSchemaSimpleContent.cs
- ApplicationSecurityInfo.cs
- EventMetadata.cs
- Guid.cs
- ObjectDataSource.cs
- CodeParameterDeclarationExpression.cs