Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellValueEventArgs.cs / 1 / DataGridViewCellValueEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewCellValueEventArgs : EventArgs { private int rowIndex, columnIndex; private object val; internal DataGridViewCellValueEventArgs() { this.columnIndex = this.rowIndex = -1; } /// public DataGridViewCellValueEventArgs(int columnIndex, int rowIndex) { if (columnIndex < 0) { throw new ArgumentOutOfRangeException("columnIndex"); } if (rowIndex < 0) { throw new ArgumentOutOfRangeException("rowIndex"); } this.rowIndex = rowIndex; this.columnIndex = columnIndex; } /// public int ColumnIndex { get { return this.columnIndex; } } /// public int RowIndex { get { return this.rowIndex; } } /// public object Value { get { return this.val; } set { this.val = value; } } internal void SetProperties(int columnIndex, int rowIndex, object value) { Debug.Assert(columnIndex >= -1); Debug.Assert(rowIndex >= -1); this.columnIndex = columnIndex; this.rowIndex = rowIndex; this.val = value; } } } // 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 DataGridViewCellValueEventArgs : EventArgs { private int rowIndex, columnIndex; private object val; internal DataGridViewCellValueEventArgs() { this.columnIndex = this.rowIndex = -1; } /// public DataGridViewCellValueEventArgs(int columnIndex, int rowIndex) { if (columnIndex < 0) { throw new ArgumentOutOfRangeException("columnIndex"); } if (rowIndex < 0) { throw new ArgumentOutOfRangeException("rowIndex"); } this.rowIndex = rowIndex; this.columnIndex = columnIndex; } /// public int ColumnIndex { get { return this.columnIndex; } } /// public int RowIndex { get { return this.rowIndex; } } /// public object Value { get { return this.val; } set { this.val = value; } } internal void SetProperties(int columnIndex, int rowIndex, object value) { Debug.Assert(columnIndex >= -1); Debug.Assert(rowIndex >= -1); this.columnIndex = columnIndex; this.rowIndex = rowIndex; this.val = value; } } } // 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
- SqlDataSourceSelectingEventArgs.cs
- OpenFileDialog.cs
- TreeNode.cs
- DockPattern.cs
- CreatingCookieEventArgs.cs
- ReferencedCategoriesDocument.cs
- FileRecordSequence.cs
- SoundPlayer.cs
- XpsPartBase.cs
- RegistrationServices.cs
- SqlUtils.cs
- CodeNamespaceImport.cs
- DependencyPropertyAttribute.cs
- IdentityNotMappedException.cs
- InfoCardTrace.cs
- TreeNode.cs
- CompiledELinqQueryState.cs
- MimeImporter.cs
- CompoundFileDeflateTransform.cs
- ControlCachePolicy.cs
- SafeFileHandle.cs
- DbgUtil.cs
- CompiledQuery.cs
- QilChoice.cs
- AttributeData.cs
- TabletCollection.cs
- StringTraceRecord.cs
- UnSafeCharBuffer.cs
- Int32AnimationBase.cs
- SolidBrush.cs
- BaseCodeDomTreeGenerator.cs
- BulletedList.cs
- PackageDigitalSignature.cs
- OleDbTransaction.cs
- IsolatedStorageFileStream.cs
- CellLabel.cs
- DrawingGroupDrawingContext.cs
- ObjectDisposedException.cs
- GenericEnumerator.cs
- TemplateField.cs
- ThreadAbortException.cs
- ApplicationId.cs
- LazyInitializer.cs
- NullableConverter.cs
- ToolStripGrip.cs
- ExpressionConverter.cs
- TemplateKeyConverter.cs
- WindowInteractionStateTracker.cs
- PropertyManager.cs
- SqlDataSource.cs
- WebPartDesigner.cs
- ListView.cs
- DataGridTextColumn.cs
- Renderer.cs
- MappingException.cs
- HtmlInputControl.cs
- GridViewColumn.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- DragDeltaEventArgs.cs
- SafeMILHandleMemoryPressure.cs
- DataGridViewTextBoxEditingControl.cs
- Oid.cs
- UrlMapping.cs
- CounterNameConverter.cs
- Trace.cs
- MetadataException.cs
- ChildDocumentBlock.cs
- Message.cs
- Grant.cs
- DependencySource.cs
- CancellationTokenSource.cs
- XmlRawWriterWrapper.cs
- EventsTab.cs
- Light.cs
- AbstractSvcMapFileLoader.cs
- GraphicsContext.cs
- PathFigure.cs
- SignatureHelper.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- XmlSchemaAny.cs
- PageHandlerFactory.cs
- ClientApiGenerator.cs
- MachineKeyConverter.cs
- DataGridViewRowsRemovedEventArgs.cs
- ResourceAssociationType.cs
- ListViewPagedDataSource.cs
- DefaultIfEmptyQueryOperator.cs
- PackageDigitalSignature.cs
- XmlSchemaImport.cs
- MethodBuilder.cs
- sqlstateclientmanager.cs
- ReadOnlyActivityGlyph.cs
- TraceInternal.cs
- MetaModel.cs
- FormatSettings.cs
- HttpContext.cs
- XsdDuration.cs
- UriWriter.cs
- PermissionSet.cs
- ContextDataSourceContextData.cs