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
- SchemaObjectWriter.cs
- XmlCharacterData.cs
- LogExtentCollection.cs
- RelatedImageListAttribute.cs
- SettingsPropertyValue.cs
- ColorBuilder.cs
- EntityContainer.cs
- ConnectionManager.cs
- BlockUIContainer.cs
- StylusDevice.cs
- DateTimeFormatInfoScanner.cs
- MethodBuilder.cs
- TableStyle.cs
- CookielessHelper.cs
- PersonalizationStateQuery.cs
- ContentFilePart.cs
- DocumentViewerBase.cs
- ZipPackage.cs
- _UncName.cs
- ListItemCollection.cs
- TracePayload.cs
- GACMembershipCondition.cs
- ZipPackage.cs
- _Win32.cs
- PenThreadPool.cs
- WorkflowServiceHost.cs
- AutoSizeToolBoxItem.cs
- ProtocolViolationException.cs
- EdmRelationshipRoleAttribute.cs
- TableLayoutStyle.cs
- SqlParameter.cs
- TextControl.cs
- M3DUtil.cs
- NominalTypeEliminator.cs
- HttpConfigurationSystem.cs
- CompositeFontParser.cs
- SqlTypesSchemaImporter.cs
- ProcessingInstructionAction.cs
- DBSqlParserColumnCollection.cs
- ViewPort3D.cs
- ReturnType.cs
- PropertyMetadata.cs
- ContextProperty.cs
- XmlSchemaElement.cs
- XmlNode.cs
- MutexSecurity.cs
- BuildManagerHost.cs
- ZoneButton.cs
- ReceiveMessageContent.cs
- HorizontalAlignConverter.cs
- MailSettingsSection.cs
- PositiveTimeSpanValidatorAttribute.cs
- IUnknownConstantAttribute.cs
- WindowsListView.cs
- HtmlInputReset.cs
- EdmItemError.cs
- ZipIORawDataFileBlock.cs
- DiscoveryMessageSequenceCD1.cs
- Maps.cs
- TypeSystem.cs
- EmulateRecognizeCompletedEventArgs.cs
- DataTableCollection.cs
- returneventsaver.cs
- _RequestLifetimeSetter.cs
- SortQuery.cs
- InvalidPrinterException.cs
- LinearKeyFrames.cs
- JavascriptXmlWriterWrapper.cs
- DEREncoding.cs
- MediaEntryAttribute.cs
- EventMappingSettings.cs
- AsyncInvokeContext.cs
- DescendantBaseQuery.cs
- TableColumnCollection.cs
- DateTimePicker.cs
- CryptoApi.cs
- ReverseInheritProperty.cs
- MessageBuilder.cs
- VirtualDirectoryMapping.cs
- SimpleModelProvider.cs
- InstanceNormalEvent.cs
- Subset.cs
- CngKeyBlobFormat.cs
- Internal.cs
- ScriptReference.cs
- CollectionType.cs
- CollectionMarkupSerializer.cs
- XmlUtilWriter.cs
- DynamicQueryableWrapper.cs
- NativeMethods.cs
- ToolStripGrip.cs
- ValidationResult.cs
- LocalFileSettingsProvider.cs
- SiteMapNode.cs
- SystemIcmpV4Statistics.cs
- CompilerGeneratedAttribute.cs
- SourceLineInfo.cs
- WebPartConnectionsCloseVerb.cs
- SafePointer.cs
- CompilerCollection.cs