Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Stylus.cs
- LateBoundBitmapDecoder.cs
- ExpressionEditor.cs
- Utils.cs
- SqlDataAdapter.cs
- MetadataHelper.cs
- XmlToDatasetMap.cs
- ToolBarTray.cs
- CannotUnloadAppDomainException.cs
- TemplateBuilder.cs
- TypeListConverter.cs
- ConditionCollection.cs
- ComPlusAuthorization.cs
- HttpGetServerProtocol.cs
- ToolStripDropTargetManager.cs
- DCSafeHandle.cs
- XmlComment.cs
- InvalidOleVariantTypeException.cs
- PaintValueEventArgs.cs
- ConfigurationSectionCollection.cs
- TransformationRules.cs
- Point3DValueSerializer.cs
- TaskFormBase.cs
- ListViewSelectEventArgs.cs
- TextEditor.cs
- XmlElementList.cs
- PKCS1MaskGenerationMethod.cs
- SignedPkcs7.cs
- DataControlImageButton.cs
- PathData.cs
- OdbcDataAdapter.cs
- DeclarativeCatalogPartDesigner.cs
- ViewStateModeByIdAttribute.cs
- SafeBitVector32.cs
- WindowsSlider.cs
- GlobalizationAssembly.cs
- DataGridViewCellStyle.cs
- SqlDataSourceFilteringEventArgs.cs
- ListViewItem.cs
- Stopwatch.cs
- EdmTypeAttribute.cs
- XpsFixedPageReaderWriter.cs
- DataGridViewComboBoxColumnDesigner.cs
- ValidatingReaderNodeData.cs
- CommentEmitter.cs
- LocatorBase.cs
- WindowsFormsSynchronizationContext.cs
- XmlSchemaSubstitutionGroup.cs
- MetadataLocation.cs
- ISSmlParser.cs
- XmlILAnnotation.cs
- UnauthorizedAccessException.cs
- XmlTypeAttribute.cs
- RichTextBoxDesigner.cs
- AspNetHostingPermission.cs
- BitmapCodecInfoInternal.cs
- SQLInt64Storage.cs
- SharedStatics.cs
- GPRECTF.cs
- QilScopedVisitor.cs
- X509SecurityTokenParameters.cs
- TableCellCollection.cs
- ShaderEffect.cs
- HtmlImage.cs
- TableLayoutPanel.cs
- SiteMapDataSource.cs
- XsltContext.cs
- DPTypeDescriptorContext.cs
- ConnectionConsumerAttribute.cs
- hresults.cs
- KeyInfo.cs
- SafePipeHandle.cs
- PagedDataSource.cs
- HtmlHistory.cs
- SerializationException.cs
- ListViewUpdateEventArgs.cs
- SafeBuffer.cs
- TakeOrSkipQueryOperator.cs
- WebPartMinimizeVerb.cs
- InfoCardSchemas.cs
- AnnotationComponentManager.cs
- ProfileInfo.cs
- QfeChecker.cs
- EncoderExceptionFallback.cs
- AccessViolationException.cs
- ScriptDescriptor.cs
- XmlCharacterData.cs
- OdbcError.cs
- OneToOneMappingSerializer.cs
- ResourceContainerWrapper.cs
- BindingSourceDesigner.cs
- DefaultEventAttribute.cs
- SlipBehavior.cs
- ColumnMapTranslator.cs
- HasCopySemanticsAttribute.cs
- AnimationClock.cs
- ScriptingJsonSerializationSection.cs
- NumericUpDownAcceleration.cs
- ChannelManagerHelpers.cs
- Bold.cs