Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CompoundFileReference.cs
- Deserializer.cs
- SplineQuaternionKeyFrame.cs
- WebPartDisplayModeCancelEventArgs.cs
- QueryCreatedEventArgs.cs
- MultilineStringConverter.cs
- ToolStripOverflow.cs
- ConnectionConsumerAttribute.cs
- FunctionImportMapping.cs
- LineServices.cs
- SamlAttribute.cs
- LicenseException.cs
- XmlTextReaderImpl.cs
- XmlCompatibilityReader.cs
- BaseTreeIterator.cs
- StreamGeometry.cs
- BufferAllocator.cs
- DataContractSet.cs
- HtmlElementErrorEventArgs.cs
- GridView.cs
- TdsEnums.cs
- LoadedOrUnloadedOperation.cs
- ControlCachePolicy.cs
- ColumnTypeConverter.cs
- AsyncDataRequest.cs
- SymmetricKeyWrap.cs
- Path.cs
- ComPlusAuthorization.cs
- Operator.cs
- PageContent.cs
- WebResourceUtil.cs
- Cursors.cs
- SelectedDatesCollection.cs
- CodeNamespace.cs
- HttpServerUtilityWrapper.cs
- DataServiceRequestException.cs
- OleDbConnectionInternal.cs
- DateTimeOffset.cs
- SqlDataSourceDesigner.cs
- SqlBulkCopyColumnMapping.cs
- MetadataWorkspace.cs
- OwnerDrawPropertyBag.cs
- ButtonColumn.cs
- TypeLibConverter.cs
- PropertyCollection.cs
- ModelItemCollectionImpl.cs
- TextRangeEditTables.cs
- OleDbCommandBuilder.cs
- SoapHttpTransportImporter.cs
- AlgoModule.cs
- Accessible.cs
- LinkUtilities.cs
- XmlDocumentSchema.cs
- MobileListItemCollection.cs
- ToolStripItemRenderEventArgs.cs
- listitem.cs
- Column.cs
- TypeResolver.cs
- CqlGenerator.cs
- AudioSignalProblemOccurredEventArgs.cs
- MailHeaderInfo.cs
- DataSourceConverter.cs
- UnSafeCharBuffer.cs
- CallInfo.cs
- WebPartConnectionsCancelVerb.cs
- SchemaTypeEmitter.cs
- InputLanguageProfileNotifySink.cs
- Helper.cs
- XmlToDatasetMap.cs
- ClassicBorderDecorator.cs
- OleDbErrorCollection.cs
- QueryableFilterUserControl.cs
- ParameterElement.cs
- ResourceSet.cs
- ProjectedSlot.cs
- AnnotationResourceChangedEventArgs.cs
- brushes.cs
- ClientScriptManagerWrapper.cs
- CommonProperties.cs
- PartialTrustVisibleAssemblyCollection.cs
- ChannelManager.cs
- ToolStripEditorManager.cs
- GenericTextProperties.cs
- PageBreakRecord.cs
- HtmlForm.cs
- ClassHandlersStore.cs
- cookiecontainer.cs
- SoapMessage.cs
- HttpFileCollectionBase.cs
- PropertyEmitter.cs
- PrivilegeNotHeldException.cs
- MatrixTransform.cs
- DataSourceSerializationException.cs
- EditorPartCollection.cs
- IsolatedStorageFilePermission.cs
- OpacityConverter.cs
- MSAANativeProvider.cs
- NumberFormatter.cs
- Buffer.cs
- VirtualDirectoryMappingCollection.cs