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
- OptimalTextSource.cs
- CodeCatchClause.cs
- UrlMappingsSection.cs
- TemplateControlCodeDomTreeGenerator.cs
- HtmlShimManager.cs
- TraceLog.cs
- TraceContextRecord.cs
- SectionInput.cs
- namescope.cs
- CookieParameter.cs
- XmlConvert.cs
- ProxyGenerator.cs
- DirectoryObjectSecurity.cs
- DirectoryObjectSecurity.cs
- ButtonField.cs
- DataGridLinkButton.cs
- XmlCharacterData.cs
- odbcmetadatacollectionnames.cs
- DesigntimeLicenseContextSerializer.cs
- SequentialOutput.cs
- PostBackOptions.cs
- HttpApplicationStateBase.cs
- AppDomainFactory.cs
- CollectionViewGroupInternal.cs
- EncoderParameters.cs
- AtomPub10CategoriesDocumentFormatter.cs
- AmbiguousMatchException.cs
- SchemaConstraints.cs
- StdValidatorsAndConverters.cs
- BridgeDataReader.cs
- Pen.cs
- CommentEmitter.cs
- Int32KeyFrameCollection.cs
- AccessorTable.cs
- FileDetails.cs
- _AuthenticationState.cs
- dtdvalidator.cs
- AssertHelper.cs
- LineProperties.cs
- TypeProvider.cs
- DBCommand.cs
- DLinqDataModelProvider.cs
- ModelVisual3D.cs
- XamlRtfConverter.cs
- MimeImporter.cs
- IncrementalHitTester.cs
- HttpApplicationFactory.cs
- SequenceQuery.cs
- Vector3DIndependentAnimationStorage.cs
- FontStretchConverter.cs
- SamlAuthorityBinding.cs
- PasswordPropertyTextAttribute.cs
- DataRowChangeEvent.cs
- TextProperties.cs
- AttributeEmitter.cs
- hresults.cs
- ActivityExecutor.cs
- WebBrowsableAttribute.cs
- BamlTreeNode.cs
- DataGridViewRowPostPaintEventArgs.cs
- TimelineCollection.cs
- X509Extension.cs
- EventLogHandle.cs
- IdentitySection.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- DataGridViewComboBoxCell.cs
- OptimalTextSource.cs
- DesignerProperties.cs
- TcpServerChannel.cs
- TableRowCollection.cs
- SoapInteropTypes.cs
- PathTooLongException.cs
- IncrementalCompileAnalyzer.cs
- ChannelManager.cs
- MenuCommand.cs
- XmlArrayItemAttributes.cs
- DesignColumnCollection.cs
- GridView.cs
- WaitHandleCannotBeOpenedException.cs
- EncodingFallbackAwareXmlTextWriter.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- TextSelectionProcessor.cs
- Token.cs
- DataRecordObjectView.cs
- EnumMember.cs
- SqlCharStream.cs
- DesignerUtility.cs
- ColorAnimationUsingKeyFrames.cs
- StreamReader.cs
- COSERVERINFO.cs
- SymDocumentType.cs
- XmlElementAttribute.cs
- DataGridCaption.cs
- FlowchartDesigner.xaml.cs
- SecurityRuntime.cs
- HttpServerVarsCollection.cs
- MemberPath.cs
- DataAdapter.cs
- EpmSourcePathSegment.cs
- RSAPKCS1SignatureDeformatter.cs