Code:
/ FX-1434 / FX-1434 / 1.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
- ResourceKey.cs
- CopyAction.cs
- RenamedEventArgs.cs
- ThreadPool.cs
- TabControlToolboxItem.cs
- GetImportedCardRequest.cs
- ArraySortHelper.cs
- CodeSubDirectoriesCollection.cs
- NotifyInputEventArgs.cs
- baseaxisquery.cs
- MultiSelectRootGridEntry.cs
- ComPlusDiagnosticTraceSchemas.cs
- BrushValueSerializer.cs
- FormsAuthenticationTicket.cs
- IfJoinedCondition.cs
- ModelTreeManager.cs
- RuleProcessor.cs
- ViewPort3D.cs
- hebrewshape.cs
- DynamicDataRoute.cs
- HandlerFactoryCache.cs
- SoapSchemaImporter.cs
- ConfigurationValues.cs
- WebPart.cs
- OracleRowUpdatedEventArgs.cs
- TraceInternal.cs
- Track.cs
- TraceSection.cs
- FilterException.cs
- RadioButtonFlatAdapter.cs
- DbDataSourceEnumerator.cs
- ObjectItemAttributeAssemblyLoader.cs
- FixedStringLookup.cs
- ExtendLockCommand.cs
- MsmqIntegrationMessagePool.cs
- MachineSettingsSection.cs
- EventProperty.cs
- ContentFilePart.cs
- FormsAuthenticationModule.cs
- ReversePositionQuery.cs
- CodeMemberProperty.cs
- XmlReaderSettings.cs
- StaticFileHandler.cs
- StackOverflowException.cs
- ViewStateChangedEventArgs.cs
- XmlSignatureProperties.cs
- XmlSchemaAttribute.cs
- PathStreamGeometryContext.cs
- TextRunProperties.cs
- SecurityPermission.cs
- DataViewListener.cs
- infer.cs
- VisualStyleRenderer.cs
- GetTokenRequest.cs
- SendMailErrorEventArgs.cs
- SvcMapFile.cs
- SourceFilter.cs
- HandlerBase.cs
- CriticalExceptions.cs
- JavaScriptSerializer.cs
- util.cs
- SafeNativeMethodsCLR.cs
- ImageMap.cs
- PageAdapter.cs
- CodePropertyReferenceExpression.cs
- RestClientProxyHandler.cs
- ThreadPoolTaskScheduler.cs
- PassportIdentity.cs
- XmlDataSourceView.cs
- ContentElementAutomationPeer.cs
- AggregateNode.cs
- DataGridViewCheckBoxColumn.cs
- UnmanagedMemoryAccessor.cs
- RowUpdatingEventArgs.cs
- EntityDataSourceEntityTypeFilterItem.cs
- BaseProcessor.cs
- HttpPostedFile.cs
- ToolStripItemRenderEventArgs.cs
- PagerSettings.cs
- XmlSchemaGroup.cs
- FileSystemEventArgs.cs
- SafeRightsManagementQueryHandle.cs
- CustomCredentialPolicy.cs
- DependencyObject.cs
- DispatcherProcessingDisabled.cs
- glyphs.cs
- Process.cs
- GenericPrincipal.cs
- CLSCompliantAttribute.cs
- ReferenceConverter.cs
- HyperLink.cs
- ErrorProvider.cs
- DbParameterCollection.cs
- Matrix3DStack.cs
- ClassicBorderDecorator.cs
- sapiproxy.cs
- GridLength.cs
- DeclarativeCatalogPart.cs
- EdmPropertyAttribute.cs
- DispatcherEventArgs.cs