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
- NetMsmqBindingElement.cs
- Latin1Encoding.cs
- RowCache.cs
- PointHitTestParameters.cs
- SqlAliaser.cs
- TableRow.cs
- SoapExtension.cs
- WindowsRichEdit.cs
- UnitySerializationHolder.cs
- DictionaryKeyPropertyAttribute.cs
- StatusBarAutomationPeer.cs
- PagedDataSource.cs
- DocumentReference.cs
- DataTableNewRowEvent.cs
- ListViewInsertedEventArgs.cs
- DuplicateDetector.cs
- ScriptIgnoreAttribute.cs
- ChannelServices.cs
- Vector3dCollection.cs
- WebPartCancelEventArgs.cs
- FlagsAttribute.cs
- SrgsSemanticInterpretationTag.cs
- AvTraceDetails.cs
- ChannelManagerHelpers.cs
- WindowsIdentity.cs
- Tablet.cs
- QilVisitor.cs
- cryptoapiTransform.cs
- PropertyInformationCollection.cs
- FixedSOMPage.cs
- Calendar.cs
- StylusOverProperty.cs
- LabelTarget.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PolicyConversionContext.cs
- MemberExpressionHelper.cs
- HandlerBase.cs
- PropertyTab.cs
- SqlXml.cs
- TrackingProfileSerializer.cs
- _UriTypeConverter.cs
- ColorContextHelper.cs
- DefaultWorkflowSchedulerService.cs
- Visitor.cs
- ExpressionNode.cs
- WorkflowDefinitionDispenser.cs
- MailAddress.cs
- DataSetMappper.cs
- Helpers.cs
- HtmlEmptyTagControlBuilder.cs
- FreezableCollection.cs
- ProjectionNode.cs
- ReadOnlyDataSourceView.cs
- TextTreePropertyUndoUnit.cs
- GlobalItem.cs
- Module.cs
- XmlSchemaSubstitutionGroup.cs
- OdbcParameterCollection.cs
- ProbeMatchesCD1.cs
- HwndKeyboardInputProvider.cs
- ToolStripPanelSelectionBehavior.cs
- NotImplementedException.cs
- AddInStore.cs
- SubqueryRules.cs
- ConfigurationManagerHelper.cs
- FormView.cs
- InvocationExpression.cs
- WebEventTraceProvider.cs
- BaseInfoTable.cs
- Ref.cs
- Inflater.cs
- LineMetrics.cs
- WindowsRegion.cs
- UserPreferenceChangedEventArgs.cs
- CqlErrorHelper.cs
- SqlVersion.cs
- Container.cs
- ColorAnimationBase.cs
- Optimizer.cs
- PeerNameRecord.cs
- QuadraticBezierSegment.cs
- ListItem.cs
- KoreanLunisolarCalendar.cs
- TrackingParticipant.cs
- GetWinFXPath.cs
- IntSecurity.cs
- RunClient.cs
- TaskFactory.cs
- String.cs
- EntityContainer.cs
- TextEncodedRawTextWriter.cs
- TreeIterators.cs
- MSAANativeProvider.cs
- Emitter.cs
- SqlWebEventProvider.cs
- TextBoxRenderer.cs
- SqlClientWrapperSmiStream.cs
- GifBitmapEncoder.cs
- ExpressionTextBoxAutomationPeer.cs
- SqlRewriteScalarSubqueries.cs