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
- XamlInterfaces.cs
- ActivityCollectionMarkupSerializer.cs
- XmlElementAttribute.cs
- TableChangeProcessor.cs
- SHA256.cs
- safesecurityhelperavalon.cs
- ExpressionTextBoxAutomationPeer.cs
- GreenMethods.cs
- SemanticTag.cs
- SynchronizedPool.cs
- ClientData.cs
- HttpModuleCollection.cs
- EntitySetBaseCollection.cs
- EastAsianLunisolarCalendar.cs
- TreeNodeCollectionEditor.cs
- DataColumnChangeEvent.cs
- WbemProvider.cs
- CommandBindingCollection.cs
- CalculatedColumn.cs
- RelatedPropertyManager.cs
- PropertyDescriptorGridEntry.cs
- DataGridViewRowPrePaintEventArgs.cs
- ContextMenu.cs
- AutomationElementCollection.cs
- ObjectListCommandCollection.cs
- RawKeyboardInputReport.cs
- MulticastDelegate.cs
- SHA1CryptoServiceProvider.cs
- ReliableOutputConnection.cs
- FlowStep.cs
- CdpEqualityComparer.cs
- DictionaryEditChange.cs
- DocumentSequence.cs
- StringUtil.cs
- DataStreams.cs
- ScrollData.cs
- NestPullup.cs
- WebPartDisplayMode.cs
- HttpException.cs
- WebScriptMetadataFormatter.cs
- InputBuffer.cs
- OdbcTransaction.cs
- OutOfMemoryException.cs
- RequestQueue.cs
- WebBrowserNavigatingEventHandler.cs
- VisualBasicSettingsHandler.cs
- RelatedView.cs
- SettingsPropertyValue.cs
- CopyCodeAction.cs
- StrokeRenderer.cs
- FunctionOverloadResolver.cs
- PixelFormat.cs
- ManifestResourceInfo.cs
- TimeSpanStorage.cs
- PictureBox.cs
- SecurityPolicySection.cs
- CfgParser.cs
- PointF.cs
- ForEachDesigner.xaml.cs
- x509store.cs
- SiteMapNodeItem.cs
- ApplicationCommands.cs
- SatelliteContractVersionAttribute.cs
- BehaviorDragDropEventArgs.cs
- Column.cs
- SqlBooleanMismatchVisitor.cs
- NavigatorOutput.cs
- WebPartAuthorizationEventArgs.cs
- Partitioner.cs
- DocumentApplicationDocumentViewer.cs
- Rectangle.cs
- HttpsChannelFactory.cs
- Style.cs
- unsafeIndexingFilterStream.cs
- ServiceDescriptions.cs
- ScriptResourceMapping.cs
- SourceItem.cs
- XmlDownloadManager.cs
- TransformerInfoCollection.cs
- AsyncOperation.cs
- InvalidFilterCriteriaException.cs
- FtpWebRequest.cs
- PassportAuthenticationEventArgs.cs
- ActiveXHelper.cs
- DateTimeConstantAttribute.cs
- UdpReplyToBehavior.cs
- UniqueIdentifierService.cs
- SqlDataSourceQueryEditorForm.cs
- webeventbuffer.cs
- XmlImplementation.cs
- CacheMode.cs
- LongPath.cs
- UIServiceHelper.cs
- TimeStampChecker.cs
- SizeChangedEventArgs.cs
- StateRuntime.cs
- FixedSOMTable.cs
- ChangeInterceptorAttribute.cs
- Vector3D.cs
- ExclusiveHandle.cs