Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellCancelEventArgs.cs / 1 / 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
- SrgsRule.cs
- StrokeDescriptor.cs
- PageCodeDomTreeGenerator.cs
- DrawingContextWalker.cs
- EntityDataSource.cs
- CookieProtection.cs
- HttpStaticObjectsCollectionWrapper.cs
- NoResizeSelectionBorderGlyph.cs
- SQLInt16.cs
- CollectionDataContract.cs
- EntitySqlQueryState.cs
- ListViewTableRow.cs
- EventWaitHandle.cs
- BuildResult.cs
- DataGridViewControlCollection.cs
- HtmlInputReset.cs
- DtdParser.cs
- HttpCookieCollection.cs
- ReaderWriterLockWrapper.cs
- CheckBoxList.cs
- CompoundFileStreamReference.cs
- ButtonFieldBase.cs
- ToolStripContentPanel.cs
- WindowsSlider.cs
- AddInActivator.cs
- InvokeProviderWrapper.cs
- CodeLabeledStatement.cs
- EventLogInternal.cs
- ActivityCodeDomSerializer.cs
- ObjRef.cs
- PageTheme.cs
- AuthenticatedStream.cs
- documentsequencetextpointer.cs
- OdbcErrorCollection.cs
- XamlFilter.cs
- XmlQueryType.cs
- Stopwatch.cs
- WindowsListViewGroupHelper.cs
- Matrix.cs
- OutputScopeManager.cs
- QilParameter.cs
- GridPatternIdentifiers.cs
- ToolStripMenuItemDesigner.cs
- ThrowHelper.cs
- ObjectItemCachedAssemblyLoader.cs
- DataGridViewCellFormattingEventArgs.cs
- ResourceWriter.cs
- DSGeneratorProblem.cs
- DefaultBinder.cs
- Vector3DCollectionValueSerializer.cs
- TargetParameterCountException.cs
- CompilationUtil.cs
- CompilerGeneratedAttribute.cs
- CopyEncoder.cs
- ScriptingJsonSerializationSection.cs
- followingquery.cs
- DetailsViewRowCollection.cs
- Deflater.cs
- ErrorEventArgs.cs
- LineGeometry.cs
- TableCellAutomationPeer.cs
- Module.cs
- IfAction.cs
- RowToFieldTransformer.cs
- ByteStorage.cs
- MsmqHostedTransportManager.cs
- TrackingMemoryStreamFactory.cs
- Rotation3DKeyFrameCollection.cs
- SecurityContext.cs
- URLString.cs
- MsmqIntegrationBinding.cs
- MemberMaps.cs
- StructuralCache.cs
- StorageMappingFragment.cs
- Int64KeyFrameCollection.cs
- AdCreatedEventArgs.cs
- WebBaseEventKeyComparer.cs
- HitTestParameters.cs
- HtmlPanelAdapter.cs
- Pkcs9Attribute.cs
- CharStorage.cs
- PanelDesigner.cs
- SessionParameter.cs
- ImageFormat.cs
- Propagator.ExtentPlaceholderCreator.cs
- EditorZone.cs
- EventManager.cs
- COM2TypeInfoProcessor.cs
- ScriptHandlerFactory.cs
- MessageDesigner.cs
- ISAPIWorkerRequest.cs
- MatrixTransform3D.cs
- EditorZoneBase.cs
- regiisutil.cs
- Expression.cs
- XPathAxisIterator.cs
- ObjectDataSource.cs
- DesignerAttribute.cs
- WebRequestModulesSection.cs
- Helpers.cs