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
- SourceFileBuildProvider.cs
- NegotiateStream.cs
- AttributeCollection.cs
- XPathDocument.cs
- DynamicResourceExtension.cs
- WizardForm.cs
- _Semaphore.cs
- OperatorExpressions.cs
- HostSecurityManager.cs
- StylusButton.cs
- Block.cs
- MetabaseServerConfig.cs
- smtpconnection.cs
- StackBuilderSink.cs
- InternalBase.cs
- EditorZone.cs
- XmlTextReader.cs
- Condition.cs
- Error.cs
- SchemaSetCompiler.cs
- CookielessHelper.cs
- ListBindingConverter.cs
- UrlAuthFailedErrorFormatter.cs
- TextTreeFixupNode.cs
- Helpers.cs
- StringAnimationUsingKeyFrames.cs
- Point.cs
- ResolveNameEventArgs.cs
- XmlSchemaGroup.cs
- InvokeProviderWrapper.cs
- HeaderedItemsControl.cs
- TextEditorParagraphs.cs
- NamedObject.cs
- PropertyValue.cs
- XPathNodeHelper.cs
- DelegateArgument.cs
- CompoundFileStorageReference.cs
- WmpBitmapDecoder.cs
- StringPropertyBuilder.cs
- DataGridViewCellConverter.cs
- ProcessModule.cs
- OracleEncoding.cs
- SingleTagSectionHandler.cs
- EtwTrace.cs
- SharedConnectionInfo.cs
- Parser.cs
- CellLabel.cs
- SqlTriggerContext.cs
- DataGridViewCell.cs
- Completion.cs
- handlecollector.cs
- ManagementObject.cs
- InputLanguageManager.cs
- ProxyOperationRuntime.cs
- PackageDigitalSignatureManager.cs
- ExpressionBuilder.cs
- WindowsFormsSynchronizationContext.cs
- SimpleColumnProvider.cs
- MatchingStyle.cs
- ChildTable.cs
- SmiRecordBuffer.cs
- ServiceChannel.cs
- SystemException.cs
- TextView.cs
- DesignTimeDataBinding.cs
- WebPartMenu.cs
- SafeEventLogReadHandle.cs
- TextInfo.cs
- NetworkInterface.cs
- MimeXmlImporter.cs
- FilterQuery.cs
- TransformProviderWrapper.cs
- TemplateXamlTreeBuilder.cs
- CheckedListBox.cs
- SelectionItemPattern.cs
- PropertyMapper.cs
- ManageRequest.cs
- HelpProvider.cs
- DoubleLinkList.cs
- CodeBinaryOperatorExpression.cs
- MsmqIntegrationChannelFactory.cs
- PageTheme.cs
- DbParameterHelper.cs
- SafeNativeMethods.cs
- metadatamappinghashervisitor.cs
- HitTestParameters.cs
- VBCodeProvider.cs
- OutKeywords.cs
- CLSCompliantAttribute.cs
- XmlFormatExtensionAttribute.cs
- CodeTypeReference.cs
- Simplifier.cs
- StringInfo.cs
- ConsoleEntryPoint.cs
- RuntimeArgumentHandle.cs
- MetadataCache.cs
- UidPropertyAttribute.cs
- MachineKeySection.cs
- StateWorkerRequest.cs
- DeflateInput.cs