Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / SelectedGridItemChangedEvent.cs / 1305376 / 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
- WindowsSysHeader.cs
- ExceptionDetail.cs
- MimeMultiPart.cs
- ISAPIApplicationHost.cs
- SQLBytesStorage.cs
- DataView.cs
- MissingMemberException.cs
- BamlTreeMap.cs
- WebControlAdapter.cs
- DataObjectMethodAttribute.cs
- GcHandle.cs
- ProviderException.cs
- CodeExpressionCollection.cs
- SoapTypeAttribute.cs
- PageThemeCodeDomTreeGenerator.cs
- ColorTransform.cs
- BaseCodePageEncoding.cs
- namescope.cs
- ConnectionPoolRegistry.cs
- AddressAlreadyInUseException.cs
- SetterBaseCollection.cs
- TraceListener.cs
- CollectionBuilder.cs
- BamlTreeMap.cs
- Rect3DConverter.cs
- SystemThemeKey.cs
- StyleSelector.cs
- TextDecorationCollection.cs
- RuntimeConfigLKG.cs
- SafeNativeMethodsOther.cs
- RequestCacheEntry.cs
- QuaternionConverter.cs
- ComponentEvent.cs
- ProfileService.cs
- MyContact.cs
- LinqMaximalSubtreeNominator.cs
- XmlTypeAttribute.cs
- KeyConverter.cs
- dataobject.cs
- EditingScope.cs
- ScriptManager.cs
- SignalGate.cs
- StreamReader.cs
- SQLBoolean.cs
- BaseServiceProvider.cs
- SqlServer2KCompatibilityCheck.cs
- AsymmetricKeyExchangeDeformatter.cs
- DataBinder.cs
- DocumentCollection.cs
- InputLanguageProfileNotifySink.cs
- WrappedIUnknown.cs
- SubqueryRules.cs
- TextCompositionManager.cs
- HeaderUtility.cs
- TypeSystem.cs
- RadioButtonFlatAdapter.cs
- XPathBinder.cs
- WorkflowMessageEventArgs.cs
- ListViewDataItem.cs
- MergablePropertyAttribute.cs
- sqlnorm.cs
- CodeDOMUtility.cs
- TraceProvider.cs
- DatatypeImplementation.cs
- PinnedBufferMemoryStream.cs
- BufferedGraphics.cs
- SchemaMapping.cs
- CharEnumerator.cs
- TextElementEnumerator.cs
- DataServiceProviderWrapper.cs
- DispatcherTimer.cs
- CellRelation.cs
- MdImport.cs
- XsdCachingReader.cs
- SystemSounds.cs
- UnauthorizedWebPart.cs
- ApplicationActivator.cs
- UserControlParser.cs
- CharAnimationUsingKeyFrames.cs
- RequestResizeEvent.cs
- UrlAuthFailedErrorFormatter.cs
- WebEvents.cs
- PersonalizationStateInfo.cs
- DataColumnCollection.cs
- SchemaElementDecl.cs
- AsyncCompletedEventArgs.cs
- PrimitiveDataContract.cs
- CodeAttributeArgumentCollection.cs
- EncryptedKeyIdentifierClause.cs
- FileVersionInfo.cs
- GeometryHitTestResult.cs
- SqlCachedBuffer.cs
- CallbackDebugBehavior.cs
- IApplicationTrustManager.cs
- Triplet.cs
- ActivationServices.cs
- RequestCacheValidator.cs
- DataGridViewRowsRemovedEventArgs.cs
- ProxyOperationRuntime.cs
- PermissionAttributes.cs