Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Add.cs
- StreamHelper.cs
- Bits.cs
- DataGridViewRow.cs
- ChannelServices.cs
- XmlText.cs
- FileFormatException.cs
- XsltQilFactory.cs
- DataKey.cs
- DeferredElementTreeState.cs
- DES.cs
- _Connection.cs
- XmlChoiceIdentifierAttribute.cs
- BookmarkScopeHandle.cs
- ProvidersHelper.cs
- DataGridViewIntLinkedList.cs
- DataSourceControl.cs
- CompilationRelaxations.cs
- PermissionListSet.cs
- CopyCodeAction.cs
- FileDialogCustomPlacesCollection.cs
- _ListenerResponseStream.cs
- handlecollector.cs
- ListViewItemEventArgs.cs
- BamlReader.cs
- CommonServiceBehaviorElement.cs
- ScrollPattern.cs
- XmlDomTextWriter.cs
- CodeGeneratorAttribute.cs
- Queue.cs
- coordinatorfactory.cs
- BufferedWebEventProvider.cs
- ScriptBehaviorDescriptor.cs
- DataTableReader.cs
- MediaContextNotificationWindow.cs
- ManagementClass.cs
- ColumnWidthChangingEvent.cs
- xamlnodes.cs
- ColumnClickEvent.cs
- ScriptingSectionGroup.cs
- EventItfInfo.cs
- WorkerRequest.cs
- LazyTextWriterCreator.cs
- HostingEnvironment.cs
- AuthStoreRoleProvider.cs
- GAC.cs
- SafeNativeMethods.cs
- EntityDesignerBuildProvider.cs
- AttributeEmitter.cs
- ObjectDataSourceDisposingEventArgs.cs
- StateMachineHistory.cs
- DrawingState.cs
- HandleRef.cs
- GeneralTransform3D.cs
- ScrollItemPatternIdentifiers.cs
- WrapPanel.cs
- objectquery_tresulttype.cs
- ReaderContextStackData.cs
- Native.cs
- TextRangeAdaptor.cs
- _FixedSizeReader.cs
- DocComment.cs
- AssertFilter.cs
- DataGridHeaderBorder.cs
- PropertyMetadata.cs
- Container.cs
- DesignTimeVisibleAttribute.cs
- BamlTreeMap.cs
- PtsHost.cs
- XmlAttributeAttribute.cs
- TextSyndicationContentKindHelper.cs
- SubMenuStyle.cs
- BufferedGraphics.cs
- FileChangesMonitor.cs
- TreeViewImageKeyConverter.cs
- TypefaceCollection.cs
- WinFormsUtils.cs
- BypassElement.cs
- EventProvider.cs
- ClassicBorderDecorator.cs
- Calendar.cs
- SetStateDesigner.cs
- CannotUnloadAppDomainException.cs
- OleStrCAMarshaler.cs
- DataGridViewTextBoxCell.cs
- DataTableClearEvent.cs
- HttpPostProtocolImporter.cs
- MetabaseSettingsIis7.cs
- XmlSchemaAnnotated.cs
- WorkflowMessageEventHandler.cs
- ListViewGroup.cs
- ParserOptions.cs
- Message.cs
- ItemType.cs
- SspiNegotiationTokenAuthenticatorState.cs
- DetailsViewRow.cs
- MetaTable.cs
- DecimalSumAggregationOperator.cs
- BindingMAnagerBase.cs
- DeleteIndexBinder.cs