Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellCancelEventArgs.cs / 1305376 / DataGridViewCellCancelEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; using System.ComponentModel; ///public class DataGridViewCellCancelEventArgs : CancelEventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellCancelEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellCancelEventArgs(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; using System.ComponentModel; ///public class DataGridViewCellCancelEventArgs : CancelEventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellCancelEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellCancelEventArgs(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
- InvariantComparer.cs
- InterleavedZipPartStream.cs
- OleDbFactory.cs
- TimeSpanValidator.cs
- SafeHandles.cs
- ReliableChannelListener.cs
- WebDisplayNameAttribute.cs
- SafeCryptoHandles.cs
- MatcherBuilder.cs
- CodePageUtils.cs
- SubqueryRules.cs
- CacheDependency.cs
- SelectionProviderWrapper.cs
- StorageComplexTypeMapping.cs
- RecommendedAsConfigurableAttribute.cs
- MediaTimeline.cs
- ContentPlaceHolder.cs
- WebUtil.cs
- DrawListViewSubItemEventArgs.cs
- _LazyAsyncResult.cs
- WindowsEditBoxRange.cs
- ClientOperation.cs
- DocumentCollection.cs
- MethodAccessException.cs
- WebBrowserSiteBase.cs
- StylusButtonCollection.cs
- TargetConverter.cs
- BaseComponentEditor.cs
- BamlTreeMap.cs
- CollectionType.cs
- SpotLight.cs
- ExpressionVisitor.cs
- FontFamily.cs
- ToolStripTextBox.cs
- DesignerSerializationOptionsAttribute.cs
- TextBox.cs
- SchemaAttDef.cs
- MainMenu.cs
- ConfigurationSectionGroupCollection.cs
- SharedDp.cs
- _CacheStreams.cs
- InvokeHandlers.cs
- XmlSerializationWriter.cs
- Ref.cs
- CollectionsUtil.cs
- JsonDeserializer.cs
- XmlWrappingReader.cs
- SequenceDesigner.xaml.cs
- DesignerCatalogPartChrome.cs
- TcpClientSocketManager.cs
- DataTemplateKey.cs
- ILGen.cs
- DataGridViewCellMouseEventArgs.cs
- TextParentUndoUnit.cs
- tooltip.cs
- PreviewPrintController.cs
- Size.cs
- TableProviderWrapper.cs
- HeaderElement.cs
- LeafCellTreeNode.cs
- XmlUrlResolver.cs
- altserialization.cs
- RuleInfoComparer.cs
- EntitySqlQueryCacheKey.cs
- SqlGenericUtil.cs
- StackSpiller.Bindings.cs
- MetafileHeaderWmf.cs
- FontUnitConverter.cs
- ClientTargetCollection.cs
- BaseDataList.cs
- DrawingAttributes.cs
- XmlCompatibilityReader.cs
- GenericIdentity.cs
- TypeToStringValueConverter.cs
- VBCodeProvider.cs
- ByteAnimationUsingKeyFrames.cs
- ExtensionDataObject.cs
- TypeResolvingOptions.cs
- PathParser.cs
- FixedTextBuilder.cs
- XmlComment.cs
- HashMembershipCondition.cs
- ResponseBodyWriter.cs
- DynamicValueConverter.cs
- OperandQuery.cs
- HtmlTableCellCollection.cs
- Documentation.cs
- DependentList.cs
- StreamWriter.cs
- ISCIIEncoding.cs
- StrokeNodeOperations.cs
- WebBrowserEvent.cs
- HttpRuntimeSection.cs
- exports.cs
- IssuanceLicense.cs
- ConfigurationSection.cs
- SqlInternalConnection.cs
- InertiaTranslationBehavior.cs
- TriState.cs
- XmlArrayItemAttribute.cs