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
- XmlPreloadedResolver.cs
- NameGenerator.cs
- CompoundFileDeflateTransform.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- WebRequestModulesSection.cs
- TraceHandlerErrorFormatter.cs
- XamlTreeBuilder.cs
- FileLogRecordEnumerator.cs
- ComponentManagerBroker.cs
- DummyDataSource.cs
- Setter.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- Splitter.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- AnnotationAuthorChangedEventArgs.cs
- ReferenceConverter.cs
- IPCCacheManager.cs
- UnknownWrapper.cs
- WebPart.cs
- ButtonColumn.cs
- ListItem.cs
- MailAddressCollection.cs
- ResXBuildProvider.cs
- HandlerFactoryCache.cs
- TypeUsage.cs
- SessionPageStateSection.cs
- PropertyChangingEventArgs.cs
- IgnoreSectionHandler.cs
- BamlVersionHeader.cs
- TreeView.cs
- FormViewUpdatedEventArgs.cs
- SessionEndedEventArgs.cs
- DbReferenceCollection.cs
- PersonalizationStateQuery.cs
- ArrayList.cs
- DetailsViewModeEventArgs.cs
- DecimalAnimationUsingKeyFrames.cs
- UndirectedGraph.cs
- GroupBoxAutomationPeer.cs
- CustomAttributeSerializer.cs
- DirectoryNotFoundException.cs
- SystemGatewayIPAddressInformation.cs
- XmlUnspecifiedAttribute.cs
- Margins.cs
- RangeValuePattern.cs
- HeaderedItemsControl.cs
- NextPreviousPagerField.cs
- Cursors.cs
- GroupItemAutomationPeer.cs
- NativeMethods.cs
- IconConverter.cs
- DataServiceQueryOfT.cs
- ExtendedPropertiesHandler.cs
- DockPattern.cs
- ItemPager.cs
- CatalogPartCollection.cs
- DBSqlParserTable.cs
- CertificateManager.cs
- ContextMarshalException.cs
- XPathPatternParser.cs
- XamlStackWriter.cs
- DBPropSet.cs
- httpapplicationstate.cs
- XamlPointCollectionSerializer.cs
- PropagatorResult.cs
- QuaternionKeyFrameCollection.cs
- CheckBoxRenderer.cs
- safelink.cs
- WorkflowInstanceExtensionProvider.cs
- PrimarySelectionAdorner.cs
- UDPClient.cs
- CSharpCodeProvider.cs
- RoleServiceManager.cs
- PersonalizationAdministration.cs
- SecurityDocument.cs
- OracleBinary.cs
- MethodRental.cs
- RequestBringIntoViewEventArgs.cs
- AutomationInteropProvider.cs
- StatusCommandUI.cs
- BindingExpressionBase.cs
- ToolBar.cs
- DataRowView.cs
- OperationCanceledException.cs
- Brush.cs
- BindingMemberInfo.cs
- AttachInfo.cs
- StdValidatorsAndConverters.cs
- DependencyObject.cs
- DiscardableAttribute.cs
- ProvidersHelper.cs
- WebPartManagerInternals.cs
- ClientProxyGenerator.cs
- RichTextBox.cs
- SerialPinChanges.cs
- WindowAutomationPeer.cs
- ListViewSelectEventArgs.cs
- DataTablePropertyDescriptor.cs
- SystemBrushes.cs
- EditorAttribute.cs