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 / DataGridViewCellEventArgs.cs / 1 / DataGridViewCellEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewCellEventArgs : EventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellEventArgs(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; ///public class DataGridViewCellEventArgs : EventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellEventArgs(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
- Crypto.cs
- OrderedHashRepartitionEnumerator.cs
- TypeForwardedToAttribute.cs
- DataChangedEventManager.cs
- FontFamilyConverter.cs
- CellQuery.cs
- TraceSwitch.cs
- DesignTimeDataBinding.cs
- CompiledQueryCacheKey.cs
- ToolStripItemClickedEventArgs.cs
- BlurEffect.cs
- WasEndpointConfigContainer.cs
- InternalConfigSettingsFactory.cs
- StatusBarDesigner.cs
- OperationCanceledException.cs
- Messages.cs
- DriveInfo.cs
- GuidTagList.cs
- DataServiceEntityAttribute.cs
- SettingsContext.cs
- IntMinMaxAggregationOperator.cs
- GroupDescription.cs
- CngAlgorithmGroup.cs
- Attachment.cs
- HopperCache.cs
- TrustManagerPromptUI.cs
- RectAnimation.cs
- DoubleAnimationClockResource.cs
- ToolStripSplitButton.cs
- StringFunctions.cs
- BmpBitmapEncoder.cs
- Int32Rect.cs
- AttributeCollection.cs
- WindowsTreeView.cs
- TransformedBitmap.cs
- Hex.cs
- Color.cs
- ReadOnlyDataSourceView.cs
- IgnoreFlushAndCloseStream.cs
- X509Certificate2.cs
- AudioStateChangedEventArgs.cs
- TreeBuilder.cs
- VarInfo.cs
- DesignerLoader.cs
- EllipseGeometry.cs
- WindowAutomationPeer.cs
- FamilyTypefaceCollection.cs
- MergePropertyDescriptor.cs
- WizardForm.cs
- HwndHostAutomationPeer.cs
- DatatypeImplementation.cs
- Visual3D.cs
- AssemblyBuilderData.cs
- ConstantProjectedSlot.cs
- CustomCredentialPolicy.cs
- Animatable.cs
- TransformerConfigurationWizardBase.cs
- TemplateBindingExpressionConverter.cs
- ComponentChangedEvent.cs
- FileRegion.cs
- TreeViewItem.cs
- MDIWindowDialog.cs
- SymDocumentType.cs
- CalendarDay.cs
- ControlPaint.cs
- DataGridItemAttachedStorage.cs
- TdsEnums.cs
- WindowsAuthenticationModule.cs
- ReadOnlyMetadataCollection.cs
- DecimalKeyFrameCollection.cs
- SpeechDetectedEventArgs.cs
- BinaryObjectWriter.cs
- BeginSelectCardRequest.cs
- AssociationType.cs
- Binding.cs
- OdbcCommandBuilder.cs
- baseshape.cs
- IgnoreDataMemberAttribute.cs
- ParseNumbers.cs
- SettingsAttributeDictionary.cs
- MergeExecutor.cs
- ItemsPresenter.cs
- RequiredFieldValidator.cs
- CustomCategoryAttribute.cs
- Stack.cs
- TypedTableBaseExtensions.cs
- HtmlValidatorAdapter.cs
- FrameworkObject.cs
- loginstatus.cs
- NavigatingCancelEventArgs.cs
- GPStream.cs
- FacetChecker.cs
- _NegoState.cs
- Section.cs
- TextBoxAutomationPeer.cs
- GridViewRow.cs
- SqlPersonalizationProvider.cs
- ControlCachePolicy.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- ContentElement.cs