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
- linebase.cs
- BaseCollection.cs
- GeneralTransformGroup.cs
- SafeViewOfFileHandle.cs
- RoleManagerEventArgs.cs
- StylusPointProperties.cs
- CertificateManager.cs
- WindowsListViewGroupSubsetLink.cs
- XmlValueConverter.cs
- ClientFormsAuthenticationCredentials.cs
- IPeerNeighbor.cs
- ObjectSpanRewriter.cs
- HTTPNotFoundHandler.cs
- RawStylusSystemGestureInputReport.cs
- WebPartChrome.cs
- ValueChangedEventManager.cs
- ListDictionaryInternal.cs
- ExpressionNormalizer.cs
- EventLogEntryCollection.cs
- CacheModeValueSerializer.cs
- SqlErrorCollection.cs
- WindowsTreeView.cs
- ParentUndoUnit.cs
- BCryptNative.cs
- SystemIPInterfaceStatistics.cs
- InternalsVisibleToAttribute.cs
- PeerApplicationLaunchInfo.cs
- DataBindingList.cs
- UrlMappingsSection.cs
- SamlAttribute.cs
- InputReferenceExpression.cs
- DataGridViewButtonColumn.cs
- MessageEnumerator.cs
- DWriteFactory.cs
- WebPartMenu.cs
- DecoderFallbackWithFailureFlag.cs
- CapabilitiesUse.cs
- PropertyGridCommands.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- SqlStatistics.cs
- ServiceProviders.cs
- XmlWellformedWriter.cs
- ControlCollection.cs
- TableLayoutRowStyleCollection.cs
- SupportingTokenSpecification.cs
- SessionStateContainer.cs
- XmlSchemaObjectCollection.cs
- ManipulationStartedEventArgs.cs
- MenuItemStyle.cs
- SiteMapNode.cs
- DbSetClause.cs
- Ops.cs
- WebColorConverter.cs
- WindowsSlider.cs
- AxParameterData.cs
- XmlSortKeyAccumulator.cs
- DispatcherTimer.cs
- GenericIdentity.cs
- LinkConverter.cs
- XmlQuerySequence.cs
- DetailsViewInsertEventArgs.cs
- DataGridColumn.cs
- HtmlWindowCollection.cs
- NumberFormatInfo.cs
- SamlDoNotCacheCondition.cs
- XmlObjectSerializerReadContext.cs
- SqlDataSourceEnumerator.cs
- PeerToPeerException.cs
- DrawListViewSubItemEventArgs.cs
- KeyValueConfigurationElement.cs
- Drawing.cs
- SqlBuffer.cs
- XmlDictionaryWriter.cs
- ExtensionMethods.cs
- EncodingStreamWrapper.cs
- Activity.cs
- MarkupExtensionSerializer.cs
- WorkflowCompensationBehavior.cs
- ICollection.cs
- DataTableExtensions.cs
- XmlParser.cs
- ToolboxItemFilterAttribute.cs
- ElementFactory.cs
- WsatTransactionHeader.cs
- Timer.cs
- BufferedGraphicsContext.cs
- ListViewInsertionMark.cs
- GridViewCommandEventArgs.cs
- DictionaryBase.cs
- CompositeScriptReferenceEventArgs.cs
- DialogResultConverter.cs
- FeatureSupport.cs
- TextContainerChangedEventArgs.cs
- ControlEvent.cs
- _CommandStream.cs
- CardSpacePolicyElement.cs
- XmlAttributeCollection.cs
- base64Transforms.cs
- DBNull.cs
- BaseTemplateCodeDomTreeGenerator.cs