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
- MailDefinition.cs
- SchemaHelper.cs
- CellCreator.cs
- SharedDp.cs
- dataobject.cs
- BuildProvider.cs
- ActivityExecutor.cs
- XmlNamespaceManager.cs
- SchemaObjectWriter.cs
- EventsTab.cs
- WinEventWrap.cs
- ReadOnlyMetadataCollection.cs
- manifestimages.cs
- Win32Native.cs
- SR.Designer.cs
- XPathQilFactory.cs
- CipherData.cs
- SourceFilter.cs
- DecoratedNameAttribute.cs
- Base64Encoder.cs
- ScrollProviderWrapper.cs
- HiddenField.cs
- GridViewUpdatedEventArgs.cs
- DataGridCellsPanel.cs
- BrowserDefinitionCollection.cs
- TypeDefinition.cs
- ConfigurationStrings.cs
- MemberRelationshipService.cs
- ExpressionWriter.cs
- BasicExpressionVisitor.cs
- XamlClipboardData.cs
- ThemeInfoAttribute.cs
- LabelLiteral.cs
- HtmlInputCheckBox.cs
- Group.cs
- DecodeHelper.cs
- XmlSchemaNotation.cs
- CatalogPart.cs
- SmtpFailedRecipientException.cs
- FontStyleConverter.cs
- DataGridPageChangedEventArgs.cs
- ConstNode.cs
- ProcessProtocolHandler.cs
- ModifiableIteratorCollection.cs
- ComponentEvent.cs
- SqlRowUpdatedEvent.cs
- XamlToRtfParser.cs
- Run.cs
- InputBindingCollection.cs
- _CacheStreams.cs
- BulletChrome.cs
- Encoder.cs
- WebBrowserContainer.cs
- ExecutionEngineException.cs
- HttpGetServerProtocol.cs
- ModelItemCollection.cs
- CodeMemberMethod.cs
- ClrProviderManifest.cs
- StateInitializationDesigner.cs
- DbUpdateCommandTree.cs
- ErrorRuntimeConfig.cs
- WinCategoryAttribute.cs
- ClientSideQueueItem.cs
- PenContext.cs
- SynchronizationContextHelper.cs
- HotSpot.cs
- CharUnicodeInfo.cs
- FocusChangedEventArgs.cs
- StringFormat.cs
- RemotingHelper.cs
- StoragePropertyMapping.cs
- TypedDataSourceCodeGenerator.cs
- FlowDocumentView.cs
- XmlKeywords.cs
- XPathParser.cs
- BinaryConverter.cs
- MissingMemberException.cs
- LocalizabilityAttribute.cs
- WebExceptionStatus.cs
- HttpApplication.cs
- PositiveTimeSpanValidator.cs
- Monitor.cs
- XpsViewerException.cs
- NaturalLanguageHyphenator.cs
- NameValuePermission.cs
- DockingAttribute.cs
- SqlBulkCopy.cs
- UnSafeCharBuffer.cs
- SurrogateSelector.cs
- ConfigurationManagerInternalFactory.cs
- SerializationInfo.cs
- Lasso.cs
- Misc.cs
- RequestCacheManager.cs
- CompilationLock.cs
- IRCollection.cs
- FileIOPermission.cs
- Utils.cs
- ObjectSpanRewriter.cs
- activationcontext.cs