Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //----------------------------------------------------------------------------- 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
- TextRangeEdit.cs
- TextCharacters.cs
- RoleGroup.cs
- NetStream.cs
- CodeIdentifier.cs
- NavigatorInput.cs
- TimeEnumHelper.cs
- StylusButton.cs
- AssemblyBuilder.cs
- TargetConverter.cs
- ScanQueryOperator.cs
- ConnectionConsumerAttribute.cs
- MetadataCollection.cs
- TTSEngineTypes.cs
- FtpWebResponse.cs
- BrushValueSerializer.cs
- NamedPipeChannelFactory.cs
- ListViewGroup.cs
- FlowSwitch.cs
- ProfileParameter.cs
- DataGridViewRow.cs
- OdbcConnectionString.cs
- QueryModel.cs
- ChildrenQuery.cs
- TextSimpleMarkerProperties.cs
- XmlRootAttribute.cs
- CatalogZoneBase.cs
- MetadataCacheItem.cs
- Token.cs
- PeerCredentialElement.cs
- FillErrorEventArgs.cs
- OleDbReferenceCollection.cs
- PassportAuthenticationModule.cs
- TextTreeFixupNode.cs
- ActivityCodeDomReferenceService.cs
- WebPartMinimizeVerb.cs
- ImageFormatConverter.cs
- TailCallAnalyzer.cs
- IndexedString.cs
- EncoderParameters.cs
- SpeakCompletedEventArgs.cs
- DbgUtil.cs
- CodeCompileUnit.cs
- CollectionChangedEventManager.cs
- ReliableReplySessionChannel.cs
- RemoteCryptoRsaServiceProvider.cs
- FragmentQueryKB.cs
- RegionInfo.cs
- ISCIIEncoding.cs
- SplitContainer.cs
- LinkDesigner.cs
- XmlDocumentFragment.cs
- CryptoApi.cs
- ToolStripItemEventArgs.cs
- XmlChildNodes.cs
- Semaphore.cs
- ErrorHandler.cs
- SoapSchemaExporter.cs
- HWStack.cs
- XPathBinder.cs
- WCFModelStrings.Designer.cs
- RegionIterator.cs
- ListViewAutomationPeer.cs
- XmlSchemaGroup.cs
- DrawingBrush.cs
- Crc32.cs
- EditorPart.cs
- ImportContext.cs
- SQLUtility.cs
- SocketAddress.cs
- XmlSchemaImporter.cs
- CqlIdentifiers.cs
- IisTraceWebEventProvider.cs
- SqlSelectStatement.cs
- OdbcFactory.cs
- XmlKeywords.cs
- ConfigurationLocation.cs
- Calendar.cs
- RegexCharClass.cs
- Int64AnimationBase.cs
- ProofTokenCryptoHandle.cs
- ToolStripItemClickedEventArgs.cs
- TimeZone.cs
- MouseCaptureWithinProperty.cs
- Model3DGroup.cs
- ObjectListGeneralPage.cs
- Cursor.cs
- XmlSerializationGeneratedCode.cs
- Double.cs
- BooleanStorage.cs
- FileLoadException.cs
- UnsafeNativeMethods.cs
- ISAPIApplicationHost.cs
- ToolboxDataAttribute.cs
- TextTreeFixupNode.cs
- XamlClipboardData.cs
- LineServicesCallbacks.cs
- HttpCapabilitiesSectionHandler.cs
- HtmlLabelAdapter.cs
- ScriptingJsonSerializationSection.cs