Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellEventArgs.cs / 1305376 / 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
- SoapCommonClasses.cs
- _AcceptOverlappedAsyncResult.cs
- ListenerSessionConnection.cs
- DataGridViewComboBoxColumn.cs
- SortDescriptionCollection.cs
- DelayedRegex.cs
- HwndSourceKeyboardInputSite.cs
- List.cs
- TcpClientSocketManager.cs
- DecoderNLS.cs
- FixedStringLookup.cs
- DataControlFieldCell.cs
- SqlCacheDependency.cs
- DPTypeDescriptorContext.cs
- SecurityState.cs
- DataGridHeaderBorder.cs
- Pool.cs
- SplineKeyFrames.cs
- BamlStream.cs
- DiagnosticTraceSource.cs
- Configuration.cs
- CodeDomExtensionMethods.cs
- CapabilitiesState.cs
- BuildManagerHost.cs
- EventsTab.cs
- ListViewTableCell.cs
- UserNameSecurityTokenParameters.cs
- DatagridviewDisplayedBandsData.cs
- SHA256.cs
- Vector3dCollection.cs
- ActionItem.cs
- UriScheme.cs
- WeakReferenceKey.cs
- PrimitiveType.cs
- ByteConverter.cs
- XmlSchemaComplexContent.cs
- AutomationProperties.cs
- FormatControl.cs
- AppDomainManager.cs
- SQLSingleStorage.cs
- BypassElement.cs
- Win32PrintDialog.cs
- MouseEvent.cs
- URLIdentityPermission.cs
- SmiEventStream.cs
- FixUpCollection.cs
- SchemaTypeEmitter.cs
- DataMember.cs
- TreeNodeCollection.cs
- ListMarkerSourceInfo.cs
- GlyphsSerializer.cs
- Parameter.cs
- QueryRewriter.cs
- TextUtf8RawTextWriter.cs
- ControlPropertyNameConverter.cs
- Animatable.cs
- MD5Cng.cs
- cookieexception.cs
- HostingEnvironmentSection.cs
- OleDbDataAdapter.cs
- OdbcTransaction.cs
- OrCondition.cs
- WebServiceResponseDesigner.cs
- DataGridItemCollection.cs
- Form.cs
- Int32CollectionConverter.cs
- TextSchema.cs
- DataRow.cs
- DeflateStreamAsyncResult.cs
- NestedContainer.cs
- DocumentViewerBase.cs
- LayoutEvent.cs
- CustomValidator.cs
- OdbcError.cs
- ChineseLunisolarCalendar.cs
- SchemaElementLookUpTableEnumerator.cs
- TableChangeProcessor.cs
- ImageSourceValueSerializer.cs
- TextCollapsingProperties.cs
- HyperLinkField.cs
- SpeechUI.cs
- StandardBindingReliableSessionElement.cs
- IdentityModelDictionary.cs
- Overlapped.cs
- ThemeInfoAttribute.cs
- CompressedStack.cs
- SecurityCriticalDataForSet.cs
- httpstaticobjectscollection.cs
- CapabilitiesPattern.cs
- SettingsAttributes.cs
- FreeFormDragDropManager.cs
- AsyncResult.cs
- XmlDataDocument.cs
- ReadOnlyDataSource.cs
- CryptographicAttribute.cs
- ConversionContext.cs
- ServerValidateEventArgs.cs
- cookie.cs
- HotCommands.cs
- SplitterCancelEvent.cs