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
- SingleResultAttribute.cs
- XpsResource.cs
- TrackBarDesigner.cs
- PolyQuadraticBezierSegment.cs
- DtrList.cs
- CharacterString.cs
- CompilerGeneratedAttribute.cs
- ThumbAutomationPeer.cs
- DeliveryStrategy.cs
- AllowedAudienceUriElement.cs
- WebPartEditorApplyVerb.cs
- Membership.cs
- ToolBarTray.cs
- OdbcConnectionStringbuilder.cs
- WebPartAddingEventArgs.cs
- SafeFileMappingHandle.cs
- MatrixIndependentAnimationStorage.cs
- ErrorFormatter.cs
- DataErrorValidationRule.cs
- MasterPageCodeDomTreeGenerator.cs
- WebConfigurationManager.cs
- StickyNote.cs
- XslAst.cs
- ArglessEventHandlerProxy.cs
- UInt64.cs
- SqlInfoMessageEvent.cs
- SqlBulkCopy.cs
- TraceHandler.cs
- VariableModifiersHelper.cs
- SqlBooleanMismatchVisitor.cs
- AdornerHitTestResult.cs
- ReservationCollection.cs
- GifBitmapDecoder.cs
- JournalNavigationScope.cs
- ScrollBarRenderer.cs
- Int32Rect.cs
- AmbientProperties.cs
- HostProtectionException.cs
- BuilderInfo.cs
- Int16AnimationUsingKeyFrames.cs
- X509SecurityToken.cs
- CfgParser.cs
- Vector.cs
- ObjectToModelValueConverter.cs
- SynchronizedKeyedCollection.cs
- TiffBitmapDecoder.cs
- WmpBitmapDecoder.cs
- ServerIdentity.cs
- JournalEntry.cs
- AttachedAnnotationChangedEventArgs.cs
- HtmlFormParameterReader.cs
- TypeBuilderInstantiation.cs
- WinFormsUtils.cs
- ToolStripComboBox.cs
- SessionStateModule.cs
- IISUnsafeMethods.cs
- PixelFormatConverter.cs
- Memoizer.cs
- DynamicFilter.cs
- DbConnectionStringCommon.cs
- StreamGeometry.cs
- CodeComment.cs
- DetailsViewRowCollection.cs
- PageOrientation.cs
- ScriptControlManager.cs
- SQLMembershipProvider.cs
- FloatAverageAggregationOperator.cs
- ConfigurationStrings.cs
- SmtpDigestAuthenticationModule.cs
- GradientStop.cs
- ObjectView.cs
- ExternalFile.cs
- CodeSnippetCompileUnit.cs
- SchemaMerger.cs
- CodeExporter.cs
- OperationResponse.cs
- WebPartConnectionsEventArgs.cs
- Atom10FormatterFactory.cs
- AssemblyNameUtility.cs
- RegexWorker.cs
- XmlCDATASection.cs
- DisplayNameAttribute.cs
- QueryAccessibilityHelpEvent.cs
- PageBreakRecord.cs
- propertyentry.cs
- VirtualDirectoryMapping.cs
- ConstraintEnumerator.cs
- BitmapEffectGroup.cs
- DispatchChannelSink.cs
- CharacterString.cs
- WebBrowser.cs
- ListView.cs
- SqlConnectionPoolProviderInfo.cs
- DataKeyArray.cs
- CompositeDataBoundControl.cs
- DataGridViewSelectedCellCollection.cs
- FileDialog_Vista_Interop.cs
- HiddenFieldPageStatePersister.cs
- ParameterToken.cs
- ResolveDuplexAsyncResult.cs