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
- WebPartUserCapability.cs
- ControlCommandSet.cs
- ImageBrush.cs
- SecurityElement.cs
- InvokeProviderWrapper.cs
- XmlCustomFormatter.cs
- CompositionTarget.cs
- PixelFormatConverter.cs
- dtdvalidator.cs
- AttributeProviderAttribute.cs
- ServerProtocol.cs
- ErrorCodes.cs
- RelationshipWrapper.cs
- ProvidePropertyAttribute.cs
- TabPageDesigner.cs
- WebPartMinimizeVerb.cs
- PrinterSettings.cs
- CodeGeneratorOptions.cs
- BrowserDefinitionCollection.cs
- UserNameSecurityTokenAuthenticator.cs
- AncestorChangedEventArgs.cs
- BatchParser.cs
- Setter.cs
- HttpHostedTransportConfiguration.cs
- ProtocolsConfiguration.cs
- SymmetricAlgorithm.cs
- ImageField.cs
- XmlMtomWriter.cs
- ValueOfAction.cs
- ReversePositionQuery.cs
- PerspectiveCamera.cs
- UniqueContractNameValidationBehavior.cs
- CodePageEncoding.cs
- SpecularMaterial.cs
- BuildProvider.cs
- FontCollection.cs
- BamlResourceSerializer.cs
- HttpRuntime.cs
- Classification.cs
- ServiceOperationDetailViewControl.cs
- Hyperlink.cs
- SessionPageStateSection.cs
- HashHelper.cs
- ExpressionEditorAttribute.cs
- DataGridViewCellStyleConverter.cs
- DependencyObjectType.cs
- PeerNameRegistration.cs
- ToolbarAUtomationPeer.cs
- SortAction.cs
- TemplateXamlParser.cs
- X509ChainElement.cs
- GAC.cs
- UnicodeEncoding.cs
- HostedTransportConfigurationBase.cs
- PublisherMembershipCondition.cs
- PrePrepareMethodAttribute.cs
- TextElement.cs
- FixedSOMLineCollection.cs
- UnmanagedHandle.cs
- BindingExpressionBase.cs
- HideDisabledControlAdapter.cs
- HandlerWithFactory.cs
- ActiveXHost.cs
- ServiceDeploymentInfo.cs
- DiffuseMaterial.cs
- StorageMappingItemCollection.cs
- ProgressChangedEventArgs.cs
- SubpageParagraph.cs
- ThreadStartException.cs
- PrivilegeNotHeldException.cs
- SubMenuStyleCollection.cs
- elementinformation.cs
- ConfigurationManagerHelper.cs
- ImplicitInputBrush.cs
- ScrollBarAutomationPeer.cs
- SerializationSectionGroup.cs
- ColorConverter.cs
- ScrollEventArgs.cs
- WebServiceClientProxyGenerator.cs
- SelectionItemProviderWrapper.cs
- ExecutionPropertyManager.cs
- RelationshipType.cs
- RemotingConfiguration.cs
- DataGridViewSelectedCellCollection.cs
- securestring.cs
- SerializationException.cs
- Int64AnimationUsingKeyFrames.cs
- SpecularMaterial.cs
- DocumentApplication.cs
- DesignerFrame.cs
- MemoryMappedFile.cs
- HMACRIPEMD160.cs
- CompositeFontFamily.cs
- XPathNode.cs
- SqlStream.cs
- AssemblyAttributes.cs
- PinnedBufferMemoryStream.cs
- TypeInfo.cs
- ImmutableObjectAttribute.cs
- httpserverutility.cs