Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellValueEventArgs.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RelationshipEndMember.cs
- PersistChildrenAttribute.cs
- PingReply.cs
- GlobalizationAssembly.cs
- Soap12ServerProtocol.cs
- TransformProviderWrapper.cs
- XmlToDatasetMap.cs
- ServicePointManager.cs
- FileSecurity.cs
- ConfigsHelper.cs
- FixedSchema.cs
- XmlDataDocument.cs
- SmtpSection.cs
- RemotingAttributes.cs
- AutoScrollExpandMessageFilter.cs
- TextRangeEditLists.cs
- XhtmlCssHandler.cs
- MaskDescriptors.cs
- TemplateBindingExtension.cs
- _UncName.cs
- XmlException.cs
- RectangleHotSpot.cs
- InstanceDataCollectionCollection.cs
- Block.cs
- SQLMoneyStorage.cs
- Membership.cs
- CompiledQueryCacheKey.cs
- MemberPathMap.cs
- Transform3D.cs
- Clipboard.cs
- HttpListenerRequestUriBuilder.cs
- DescendantOverDescendantQuery.cs
- MetadataArtifactLoaderCompositeResource.cs
- EmptyEnumerator.cs
- LineInfo.cs
- BitmapFrameEncode.cs
- SerializerDescriptor.cs
- XmlDomTextWriter.cs
- DllHostInitializer.cs
- Label.cs
- SingleKeyFrameCollection.cs
- ItemCheckEvent.cs
- ComplexType.cs
- DoubleCollectionConverter.cs
- FlowLayout.cs
- SerialErrors.cs
- SecureUICommand.cs
- UpdatePanelTriggerCollection.cs
- WindowClosedEventArgs.cs
- SocketPermission.cs
- QueueAccessMode.cs
- TextTrailingWordEllipsis.cs
- RenderingEventArgs.cs
- Operand.cs
- DelegateHelpers.Generated.cs
- RepeatInfo.cs
- SchemaImporterExtension.cs
- TextSearch.cs
- ParseChildrenAsPropertiesAttribute.cs
- ASCIIEncoding.cs
- AttributeUsageAttribute.cs
- MultipartIdentifier.cs
- XomlSerializationHelpers.cs
- ImageListDesigner.cs
- _BufferOffsetSize.cs
- DBCSCodePageEncoding.cs
- DbCommandTree.cs
- Block.cs
- validationstate.cs
- OrderByBuilder.cs
- WebEncodingValidator.cs
- util.cs
- ListChangedEventArgs.cs
- PageContentCollection.cs
- ReadingWritingEntityEventArgs.cs
- CompiledRegexRunner.cs
- BaseCodePageEncoding.cs
- KnownBoxes.cs
- Enlistment.cs
- MimeReflector.cs
- GroupBox.cs
- CompilerInfo.cs
- IntellisenseTextBox.cs
- CompleteWizardStep.cs
- FacetChecker.cs
- BackStopAuthenticationModule.cs
- WizardStepBase.cs
- CommandBinding.cs
- CommandDevice.cs
- BounceEase.cs
- TargetPerspective.cs
- TextTrailingWordEllipsis.cs
- StateItem.cs
- SiteOfOriginPart.cs
- Trigger.cs
- ConfigurationElementCollection.cs
- DocumentViewer.cs
- WindowsListBox.cs
- ConstructorNeedsTagAttribute.cs
- XPathSelectionIterator.cs