Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- RightsManagementPermission.cs
- ArrayExtension.cs
- ClaimTypes.cs
- ComboBoxItem.cs
- DataViewSetting.cs
- PeerInvitationResponse.cs
- BoolLiteral.cs
- CompiledQueryCacheEntry.cs
- SecurityUniqueId.cs
- ParameterCollection.cs
- WebPartTransformerCollection.cs
- HttpEncoder.cs
- Calendar.cs
- TypeUtils.cs
- ToolBarOverflowPanel.cs
- IdentitySection.cs
- DecimalStorage.cs
- Property.cs
- MouseGestureConverter.cs
- ProgressChangedEventArgs.cs
- PresentationSource.cs
- MissingMethodException.cs
- XmlCollation.cs
- UserControlParser.cs
- Permission.cs
- KeyGestureValueSerializer.cs
- DrawListViewSubItemEventArgs.cs
- PathFigureCollection.cs
- SQLInt64.cs
- IndexOutOfRangeException.cs
- PropertyNames.cs
- PropVariant.cs
- RelatedView.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SqlMethodTransformer.cs
- CalendarDesigner.cs
- DataStreams.cs
- Rule.cs
- HwndProxyElementProvider.cs
- ConsumerConnectionPointCollection.cs
- Odbc32.cs
- SafeProcessHandle.cs
- CodeRemoveEventStatement.cs
- ZipIOModeEnforcingStream.cs
- ResourceIDHelper.cs
- DesignBindingValueUIHandler.cs
- SaveFileDialog.cs
- AppDomainUnloadedException.cs
- TextTreeRootTextBlock.cs
- MsmqBindingElementBase.cs
- SoapAttributeAttribute.cs
- QueryPageSettingsEventArgs.cs
- DashStyle.cs
- DataRelationCollection.cs
- HtmlInputCheckBox.cs
- BooleanSwitch.cs
- StringUtil.cs
- Rules.cs
- ProcessMessagesAsyncResult.cs
- ItemList.cs
- XmlnsCompatibleWithAttribute.cs
- PropertyPanel.cs
- XmlTextReaderImpl.cs
- ComplexTypeEmitter.cs
- StaticExtension.cs
- Decoder.cs
- Html32TextWriter.cs
- CalendarAutoFormat.cs
- ClientTargetCollection.cs
- NameValueConfigurationElement.cs
- WmfPlaceableFileHeader.cs
- HttpCookiesSection.cs
- UnsafeNativeMethods.cs
- Stopwatch.cs
- DetailsViewUpdatedEventArgs.cs
- DesignColumnCollection.cs
- DuplicateWaitObjectException.cs
- SqlClientWrapperSmiStream.cs
- FormCollection.cs
- DiagnosticTrace.cs
- thaishape.cs
- ActivityBuilderHelper.cs
- ExpressionBuilderContext.cs
- PreviewPrintController.cs
- PersonalizationProvider.cs
- ChannelTokenTypeConverter.cs
- UriTemplateVariablePathSegment.cs
- TextBoxAutoCompleteSourceConverter.cs
- CodeParameterDeclarationExpression.cs
- SqlUDTStorage.cs
- CharAnimationUsingKeyFrames.cs
- TPLETWProvider.cs
- Scene3D.cs
- ReplacementText.cs
- AtomicFile.cs
- AnnotationStore.cs
- BitArray.cs
- RadioButtonDesigner.cs
- ImageButton.cs
- WebPartTransformerAttribute.cs