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
- MarkupObject.cs
- IntSecurity.cs
- IdentifierCollection.cs
- ControlParameter.cs
- DataControlPagerLinkButton.cs
- HttpModulesSection.cs
- Viewport3DAutomationPeer.cs
- RequestCachePolicy.cs
- OleDbStruct.cs
- SoapSchemaImporter.cs
- TCPClient.cs
- EntityStoreSchemaFilterEntry.cs
- CompilerResults.cs
- CodeArgumentReferenceExpression.cs
- TreeNodeCollection.cs
- SqlDataSourceCommandEventArgs.cs
- XmlNodeChangedEventArgs.cs
- ConstructorNeedsTagAttribute.cs
- MatrixCamera.cs
- Resources.Designer.cs
- WpfKnownType.cs
- CheckBoxFlatAdapter.cs
- DetailsViewRow.cs
- XmlNamespaceMapping.cs
- ECDsaCng.cs
- ListViewPagedDataSource.cs
- HierarchicalDataSourceControl.cs
- XmlObjectSerializerWriteContext.cs
- Visual3D.cs
- ComboBox.cs
- dataobject.cs
- RoutingExtension.cs
- InvalidWorkflowException.cs
- PackWebResponse.cs
- Pair.cs
- SqlClientWrapperSmiStreamChars.cs
- DocumentSequenceHighlightLayer.cs
- MenuCommand.cs
- XPathChildIterator.cs
- ControlBuilderAttribute.cs
- QueryStatement.cs
- InternalControlCollection.cs
- StringOutput.cs
- WebPartEditorApplyVerb.cs
- PersonalizableTypeEntry.cs
- SetterTriggerConditionValueConverter.cs
- SchemaTypeEmitter.cs
- SecUtil.cs
- XmlUrlResolver.cs
- SchemaMapping.cs
- AutomationPropertyInfo.cs
- Int32.cs
- SqlDataSourceEnumerator.cs
- WebBrowserSiteBase.cs
- SecurityRuntime.cs
- InstancePersistenceException.cs
- ContentFilePart.cs
- QilUnary.cs
- AppDomainCompilerProxy.cs
- TriggerAction.cs
- DataTrigger.cs
- ResourcesBuildProvider.cs
- MenuItem.cs
- IriParsingElement.cs
- TargetInvocationException.cs
- arabicshape.cs
- DefaultEventAttribute.cs
- Transform3DGroup.cs
- TrackingLocation.cs
- HwndStylusInputProvider.cs
- MouseGesture.cs
- DbConnectionStringBuilder.cs
- ClientFormsAuthenticationCredentials.cs
- FixedTextSelectionProcessor.cs
- ADMembershipProvider.cs
- SR.cs
- UserControl.cs
- TrackingStringDictionary.cs
- HtmlInputImage.cs
- EntityDataSourceViewSchema.cs
- XmlSerializationGeneratedCode.cs
- BinHexEncoder.cs
- IRCollection.cs
- DBConnection.cs
- HeaderFilter.cs
- StringCollectionMarkupSerializer.cs
- SelectionRange.cs
- BinaryExpression.cs
- PropertyChangedEventArgs.cs
- SoapElementAttribute.cs
- ConvertEvent.cs
- SubstitutionDesigner.cs
- EndpointBehaviorElement.cs
- Base64WriteStateInfo.cs
- DependsOnAttribute.cs
- DeploymentSection.cs
- SelectedCellsCollection.cs
- ServiceReflector.cs
- ColumnHeaderConverter.cs
- Panel.cs