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
- _ListenerRequestStream.cs
- MethodBuilderInstantiation.cs
- ThreadStaticAttribute.cs
- DesignerActionVerbItem.cs
- CheckBox.cs
- CopyOfAction.cs
- ConnectionsZoneAutoFormat.cs
- ToolboxDataAttribute.cs
- SiteMapPath.cs
- MaxMessageSizeStream.cs
- ConstrainedDataObject.cs
- DBNull.cs
- RectValueSerializer.cs
- XmlSchemaSimpleTypeList.cs
- FormViewRow.cs
- CollectionConverter.cs
- PersistenceTypeAttribute.cs
- AutomationIdentifier.cs
- XmlNodeWriter.cs
- NavigationPropertySingletonExpression.cs
- Matrix.cs
- WebPartCollection.cs
- MailHeaderInfo.cs
- GetMemberBinder.cs
- ItemType.cs
- CriticalFinalizerObject.cs
- SerializationAttributes.cs
- ProfileInfo.cs
- ExecutionContext.cs
- PerformanceCounterManager.cs
- NavigateEvent.cs
- EntityStoreSchemaGenerator.cs
- TagMapInfo.cs
- NumberAction.cs
- HtmlTable.cs
- ExplicitDiscriminatorMap.cs
- TargetException.cs
- MachineKeyConverter.cs
- ArgumentException.cs
- ProtectedConfigurationProviderCollection.cs
- IsolatedStorage.cs
- TextEditorCopyPaste.cs
- ClusterRegistryConfigurationProvider.cs
- DbExpressionVisitor.cs
- _Rfc2616CacheValidators.cs
- PtsHost.cs
- StylusSystemGestureEventArgs.cs
- Normalization.cs
- ConnectionInterfaceCollection.cs
- SerializationException.cs
- DataBoundControl.cs
- EventDescriptorCollection.cs
- FontUnitConverter.cs
- XmlTextWriter.cs
- UIElement3D.cs
- ReturnValue.cs
- AsyncPostBackTrigger.cs
- WindowsGrip.cs
- ProcessModuleDesigner.cs
- AuthorizationRule.cs
- TypeUtil.cs
- DbMetaDataFactory.cs
- DataGridColumnCollection.cs
- SqlColumnizer.cs
- SamlConditions.cs
- MessageHeaders.cs
- FormViewCommandEventArgs.cs
- SizeChangedInfo.cs
- AssemblyCache.cs
- TimeSpan.cs
- Invariant.cs
- SqlClientMetaDataCollectionNames.cs
- PropertyGridEditorPart.cs
- ResXResourceWriter.cs
- PropertyDescriptorComparer.cs
- OperationParameterInfo.cs
- RowToFieldTransformer.cs
- DurableOperationContext.cs
- processwaithandle.cs
- FullTrustAssembliesSection.cs
- UdpTransportSettings.cs
- DefaultConfirmation.cs
- TextEditor.cs
- AmbientProperties.cs
- indexingfiltermarshaler.cs
- Misc.cs
- ScriptControl.cs
- AccessibleObject.cs
- SystemPens.cs
- FontStretchConverter.cs
- NullReferenceException.cs
- AttachmentService.cs
- SqlConnectionStringBuilder.cs
- CodeVariableDeclarationStatement.cs
- NonVisualControlAttribute.cs
- ItemsControlAutomationPeer.cs
- CodeGotoStatement.cs
- FormViewInsertEventArgs.cs
- CancellationHandler.cs
- CodeDOMProvider.cs