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
- HttpListenerContext.cs
- Compiler.cs
- XmlBinaryReader.cs
- BuildManager.cs
- CodeExporter.cs
- EmptyControlCollection.cs
- DetailsViewModeEventArgs.cs
- DataRecordObjectView.cs
- GridViewSelectEventArgs.cs
- GenericWebPart.cs
- LambdaSerializationException.cs
- RowTypePropertyElement.cs
- MatrixUtil.cs
- Pens.cs
- StateBag.cs
- FieldInfo.cs
- TreeNodeBindingCollection.cs
- PaperSource.cs
- EventWaitHandleSecurity.cs
- WindowsRichEdit.cs
- WebPartManager.cs
- HostedHttpContext.cs
- JsonFormatWriterGenerator.cs
- PerformanceCounterManager.cs
- XmlAttributes.cs
- SafeSecurityHandles.cs
- QilXmlReader.cs
- Selector.cs
- BindStream.cs
- WebEvents.cs
- DBDataPermissionAttribute.cs
- RichTextBox.cs
- Control.cs
- ScrollProviderWrapper.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- StructuredCompositeActivityDesigner.cs
- LogAppendAsyncResult.cs
- ConnectionManagementElementCollection.cs
- EntityDesignPluralizationHandler.cs
- XmlWriter.cs
- AuthenticationServiceManager.cs
- HttpCookie.cs
- SHA512CryptoServiceProvider.cs
- HtmlInputButton.cs
- PriorityBinding.cs
- RC2.cs
- TextRangeEditLists.cs
- EntityViewGenerationConstants.cs
- PaperSize.cs
- HttpRequestCacheValidator.cs
- ConfigurationSectionGroup.cs
- ResolveInfo.cs
- ApplicationFileParser.cs
- TargetInvocationException.cs
- EntityDataSourceDataSelectionPanel.cs
- NameSpaceExtractor.cs
- CollectionView.cs
- DataTableClearEvent.cs
- NavigateEvent.cs
- LinkDescriptor.cs
- HtmlTableRow.cs
- XPathNavigatorReader.cs
- WebPartManager.cs
- WebPart.cs
- ContentValidator.cs
- XPathDocument.cs
- SiteMapNodeCollection.cs
- Opcode.cs
- Rect.cs
- CodeAttributeArgument.cs
- SecUtil.cs
- ListMarkerLine.cs
- StatusBar.cs
- TreeViewEvent.cs
- StructureChangedEventArgs.cs
- TimeSpanValidator.cs
- FtpWebResponse.cs
- DataRowChangeEvent.cs
- Assert.cs
- ProtocolsConfigurationHandler.cs
- KeySpline.cs
- ScrollableControl.cs
- RootCodeDomSerializer.cs
- WindowsToolbar.cs
- Environment.cs
- Invariant.cs
- DataSourceControl.cs
- ItemDragEvent.cs
- objectquery_tresulttype.cs
- ViewService.cs
- TreeNode.cs
- ChangeConflicts.cs
- KeyInfo.cs
- controlskin.cs
- xdrvalidator.cs
- HandleValueEditor.cs
- DBParameter.cs
- TextTreeInsertElementUndoUnit.cs
- Activator.cs
- Interlocked.cs