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
- SHA384Managed.cs
- DbDataRecord.cs
- TriState.cs
- DllNotFoundException.cs
- EmissiveMaterial.cs
- LinqDataSourceStatusEventArgs.cs
- ParagraphVisual.cs
- ProjectionCamera.cs
- WindowsMenu.cs
- SkinBuilder.cs
- DocumentPageViewAutomationPeer.cs
- QilSortKey.cs
- PolicyException.cs
- SafeProcessHandle.cs
- ValidateNames.cs
- WrappedReader.cs
- DataGridTextBox.cs
- Rule.cs
- COM2IDispatchConverter.cs
- SqlIdentifier.cs
- EntityStoreSchemaGenerator.cs
- AesCryptoServiceProvider.cs
- ConnectionPoint.cs
- ScrollProperties.cs
- HtmlInputReset.cs
- ZoneLinkButton.cs
- SiteMapSection.cs
- HttpListenerException.cs
- TypeConverterHelper.cs
- Bezier.cs
- EncodingDataItem.cs
- UserControl.cs
- ItemContainerGenerator.cs
- WorkflowClientDeliverMessageWrapper.cs
- IssuedSecurityTokenParameters.cs
- ToolStripContentPanelRenderEventArgs.cs
- SerializationException.cs
- EventLogEntryCollection.cs
- latinshape.cs
- dataprotectionpermission.cs
- NominalTypeEliminator.cs
- ControlPaint.cs
- RoleBoolean.cs
- DesignDataSource.cs
- TemplateParser.cs
- dataobject.cs
- _NtlmClient.cs
- StatusBarItem.cs
- CheckoutException.cs
- QueueAccessMode.cs
- PathData.cs
- KeyPressEvent.cs
- LinkGrep.cs
- TabControl.cs
- ToolboxItemCollection.cs
- TextTreeInsertUndoUnit.cs
- ConstraintConverter.cs
- ValuePattern.cs
- UnauthorizedAccessException.cs
- ConfigXmlText.cs
- LoginName.cs
- CodeAttachEventStatement.cs
- SupportedAddressingMode.cs
- ControlCodeDomSerializer.cs
- DefaultTextStoreTextComposition.cs
- BufferModesCollection.cs
- ReflectionHelper.cs
- ResourceProviderFactory.cs
- ItemAutomationPeer.cs
- TypeHelper.cs
- FormattedText.cs
- UniformGrid.cs
- InstallerTypeAttribute.cs
- _BasicClient.cs
- RemoteX509AsymmetricSecurityKey.cs
- FloaterParaClient.cs
- ThaiBuddhistCalendar.cs
- AutomationEvent.cs
- VariableQuery.cs
- SqlCommandBuilder.cs
- SafeBitVector32.cs
- BitmapEffect.cs
- SystemIPv6InterfaceProperties.cs
- BlurEffect.cs
- SecureStringHasher.cs
- JsonEncodingStreamWrapper.cs
- WeakReferenceList.cs
- RemotingServices.cs
- InternalMappingException.cs
- RawStylusInputCustomDataList.cs
- AuthenticatingEventArgs.cs
- DataFieldConverter.cs
- EraserBehavior.cs
- EntityModelBuildProvider.cs
- CustomTypeDescriptor.cs
- SecurityProtocol.cs
- NameValueConfigurationCollection.cs
- PerformanceCounterPermission.cs
- EnumerableRowCollectionExtensions.cs
- CalendarData.cs