Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CommandConverter.cs
- DataGridViewTextBoxEditingControl.cs
- _NetRes.cs
- OrderedDictionary.cs
- InvalidDocumentContentsException.cs
- X509Extension.cs
- ZipIOModeEnforcingStream.cs
- ToolStripItemClickedEventArgs.cs
- BaseCAMarshaler.cs
- XmlKeywords.cs
- HMACSHA512.cs
- Bezier.cs
- AssemblyAttributesGoHere.cs
- DetailsViewUpdatedEventArgs.cs
- DataTable.cs
- SubpageParagraph.cs
- DesignTimeVisibleAttribute.cs
- entityreference_tresulttype.cs
- SendKeys.cs
- TextEncodedRawTextWriter.cs
- DataColumnMapping.cs
- GridViewDeleteEventArgs.cs
- GrammarBuilderPhrase.cs
- ByteStreamGeometryContext.cs
- UserControlBuildProvider.cs
- SystemInfo.cs
- AppDomain.cs
- SchemaUtility.cs
- DataViewListener.cs
- StandardToolWindows.cs
- PersonalizationProviderHelper.cs
- RecognizerInfo.cs
- StateMachineWorkflowDesigner.cs
- Compiler.cs
- CacheForPrimitiveTypes.cs
- FieldBuilder.cs
- DbException.cs
- localization.cs
- Transform.cs
- TabPage.cs
- ListViewInsertionMark.cs
- SingleAnimationBase.cs
- TextElementAutomationPeer.cs
- NativeMethods.cs
- Quaternion.cs
- CqlWriter.cs
- SharedUtils.cs
- ConnectionsZone.cs
- DesignerDataConnection.cs
- ProgressBar.cs
- AlphaSortedEnumConverter.cs
- DataPagerField.cs
- DictionaryChange.cs
- UserUseLicenseDictionaryLoader.cs
- HiddenField.cs
- FileAuthorizationModule.cs
- NumberFormatInfo.cs
- RegistrationServices.cs
- SystemIcmpV4Statistics.cs
- DynamicDataExtensions.cs
- MailMessageEventArgs.cs
- MultiDataTrigger.cs
- EndpointAddressElementBase.cs
- PrePostDescendentsWalker.cs
- GridView.cs
- ZipIOLocalFileDataDescriptor.cs
- UnsafeNativeMethodsMilCoreApi.cs
- ParallelLoopState.cs
- RuntimeConfig.cs
- EffectiveValueEntry.cs
- Imaging.cs
- ApplicationSecurityManager.cs
- DocumentAutomationPeer.cs
- DynamicILGenerator.cs
- printdlgexmarshaler.cs
- MaterialCollection.cs
- SQLDateTimeStorage.cs
- EntityModelSchemaGenerator.cs
- VerificationAttribute.cs
- OrthographicCamera.cs
- XmlObjectSerializerReadContext.cs
- DecryptRequest.cs
- RTLAwareMessageBox.cs
- XmlCharType.cs
- MobileRedirect.cs
- XmlNullResolver.cs
- CanonicalFontFamilyReference.cs
- codemethodreferenceexpression.cs
- CodeNamespaceImport.cs
- ThreadStateException.cs
- DocumentsTrace.cs
- ConstructorArgumentAttribute.cs
- EditCommandColumn.cs
- KerberosSecurityTokenProvider.cs
- PersistNameAttribute.cs
- SrgsNameValueTag.cs
- Deserializer.cs
- RegisteredHiddenField.cs
- OracleRowUpdatedEventArgs.cs
- ListChangedEventArgs.cs