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
- TemplateManager.cs
- SignedXmlDebugLog.cs
- OperationInfo.cs
- SpellerError.cs
- TextOptionsInternal.cs
- HostnameComparisonMode.cs
- CodeTypeReferenceCollection.cs
- DataBindingExpressionBuilder.cs
- Freezable.cs
- ItemsControl.cs
- MenuItemAutomationPeer.cs
- ArraySet.cs
- sqlpipe.cs
- HtmlInputText.cs
- GPPOINTF.cs
- SystemIPInterfaceProperties.cs
- GridViewAutoFormat.cs
- ComponentResourceKeyConverter.cs
- UnwrappedTypesXmlSerializerManager.cs
- ArrayList.cs
- ProfilePropertySettingsCollection.cs
- LinqDataSourceHelper.cs
- MouseCaptureWithinProperty.cs
- VisualStyleTypesAndProperties.cs
- ComponentChangingEvent.cs
- SatelliteContractVersionAttribute.cs
- CodeNamespaceCollection.cs
- UnsafeNativeMethodsCLR.cs
- XD.cs
- GlyphRunDrawing.cs
- WebControl.cs
- WindowsRichEdit.cs
- XhtmlBasicTextBoxAdapter.cs
- Deserializer.cs
- ListViewHitTestInfo.cs
- CheckoutException.cs
- SchemaRegistration.cs
- PageBreakRecord.cs
- CodeTypeDeclaration.cs
- TimeSpanValidator.cs
- EnumCodeDomSerializer.cs
- PartitionedStream.cs
- EntitySqlQueryCacheKey.cs
- RotateTransform3D.cs
- BuilderPropertyEntry.cs
- FormatVersion.cs
- GridEntry.cs
- InputLanguageManager.cs
- WebPart.cs
- ViewService.cs
- DbInsertCommandTree.cs
- BinaryParser.cs
- TargetFrameworkUtil.cs
- UnmanagedMemoryStreamWrapper.cs
- DataGridViewHeaderCell.cs
- UnmanagedBitmapWrapper.cs
- StringCollection.cs
- CodeArrayIndexerExpression.cs
- IndexOutOfRangeException.cs
- ImageUrlEditor.cs
- UnauthorizedWebPart.cs
- ParameterCollection.cs
- OutputCacheProfileCollection.cs
- StrokeFIndices.cs
- StructuralObject.cs
- IResourceProvider.cs
- SqlUserDefinedAggregateAttribute.cs
- LinqDataSourceEditData.cs
- ServiceReference.cs
- TakeQueryOptionExpression.cs
- _ConnectOverlappedAsyncResult.cs
- CheckBox.cs
- PropertyGridCommands.cs
- TableRow.cs
- MemberMaps.cs
- HMACRIPEMD160.cs
- ComplexTypeEmitter.cs
- SpeechUI.cs
- InputBinding.cs
- ModelFunction.cs
- diagnosticsswitches.cs
- DataGridSortCommandEventArgs.cs
- FileLevelControlBuilderAttribute.cs
- MenuItemCollection.cs
- CombinedGeometry.cs
- KeyedHashAlgorithm.cs
- CodeDomLoader.cs
- MarkerProperties.cs
- FileReader.cs
- PropertySet.cs
- StringBuilder.cs
- AstTree.cs
- XamlInt32CollectionSerializer.cs
- DownloadProgressEventArgs.cs
- OdbcConnectionHandle.cs
- TileBrush.cs
- ListItemConverter.cs
- SiteMapHierarchicalDataSourceView.cs
- HttpServerVarsCollection.cs
- HuffCodec.cs