Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellEventArgs.cs / 1 / DataGridViewCellEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewCellEventArgs : EventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellEventArgs(int columnIndex, int rowIndex) { if (columnIndex < -1) { throw new ArgumentOutOfRangeException("columnIndex"); } if (rowIndex < -1) { throw new ArgumentOutOfRangeException("rowIndex"); } this.columnIndex = columnIndex; this.rowIndex = rowIndex; } /// public int ColumnIndex { get { return this.columnIndex; } } /// public int RowIndex { get { return this.rowIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewCellEventArgs : EventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellEventArgs(int columnIndex, int rowIndex) { if (columnIndex < -1) { throw new ArgumentOutOfRangeException("columnIndex"); } if (rowIndex < -1) { throw new ArgumentOutOfRangeException("rowIndex"); } this.columnIndex = columnIndex; this.rowIndex = rowIndex; } /// public int ColumnIndex { get { return this.columnIndex; } } /// public int RowIndex { get { return this.rowIndex; } } } } // 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
- HostingEnvironmentException.cs
- ReflectEventDescriptor.cs
- SchemaImporter.cs
- HostedTcpTransportManager.cs
- DataKeyArray.cs
- TargetControlTypeAttribute.cs
- NetworkInterface.cs
- ConfigurationStrings.cs
- SmtpReplyReaderFactory.cs
- InputLangChangeEvent.cs
- XmlToDatasetMap.cs
- CharacterMetrics.cs
- Control.cs
- DocumentReference.cs
- MethodExpr.cs
- BitmapCache.cs
- MemberExpression.cs
- CuspData.cs
- TableRowGroup.cs
- SimpleApplicationHost.cs
- MachineKeyConverter.cs
- CompilerState.cs
- DataGridTextBoxColumn.cs
- EditingCommands.cs
- AnnotationResource.cs
- PeerPresenceInfo.cs
- PipeStream.cs
- DataSpaceManager.cs
- NumberAction.cs
- DataGridViewColumnStateChangedEventArgs.cs
- NavigatorOutput.cs
- TabletCollection.cs
- SupportsEventValidationAttribute.cs
- PeerObject.cs
- ConstraintManager.cs
- Privilege.cs
- Int64Storage.cs
- ExpressionLink.cs
- SqlCacheDependency.cs
- DockPattern.cs
- DesignerAutoFormat.cs
- PolicyStatement.cs
- ControlEvent.cs
- StylusEditingBehavior.cs
- BaseDataList.cs
- Parameter.cs
- XmlSchemaException.cs
- Single.cs
- Light.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ConnectionConsumerAttribute.cs
- HttpResponseInternalBase.cs
- ImageClickEventArgs.cs
- DesignerAttribute.cs
- XmlChildNodes.cs
- ProcessModuleCollection.cs
- SequentialActivityDesigner.cs
- MetadataSerializer.cs
- WebPartDisplayModeEventArgs.cs
- MediaTimeline.cs
- ForceCopyBuildProvider.cs
- LicenseContext.cs
- HttpListenerException.cs
- Light.cs
- WebControlsSection.cs
- Model3D.cs
- WinFormsSecurity.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- DataConnectionHelper.cs
- TypeDependencyAttribute.cs
- InstanceCreationEditor.cs
- WebScriptServiceHost.cs
- Converter.cs
- CalendarDay.cs
- ListParaClient.cs
- SqlMethodCallConverter.cs
- Match.cs
- basevalidator.cs
- invalidudtexception.cs
- WindowProviderWrapper.cs
- XamlTemplateSerializer.cs
- XmlIncludeAttribute.cs
- UserUseLicenseDictionaryLoader.cs
- BaseTemplateParser.cs
- TreeViewImageKeyConverter.cs
- Console.cs
- IssuedTokenClientElement.cs
- ComponentResourceKeyConverter.cs
- DigestTraceRecordHelper.cs
- TextDpi.cs
- FixedSOMPage.cs
- DependencyObjectPropertyDescriptor.cs
- PolyBezierSegmentFigureLogic.cs
- InputScope.cs
- LayoutEditorPart.cs
- ListenerChannelContext.cs
- FastEncoderWindow.cs
- TrackingLocationCollection.cs
- GeneralTransform.cs
- EllipseGeometry.cs