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
- DesignTimeTemplateParser.cs
- PasswordPropertyTextAttribute.cs
- FixedSOMPageElement.cs
- BaseResourcesBuildProvider.cs
- RegexCompilationInfo.cs
- DataBoundControlHelper.cs
- PropertyMapper.cs
- NameSpaceExtractor.cs
- TreeViewEvent.cs
- ThrowHelper.cs
- DataExpression.cs
- SessionIDManager.cs
- OptimizedTemplateContent.cs
- XamlStackWriter.cs
- FontWeight.cs
- XamlReaderHelper.cs
- ViewLoader.cs
- BitmapEffectInputConnector.cs
- SmiEventSink.cs
- DataTableNewRowEvent.cs
- SrgsToken.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- OrderedDictionaryStateHelper.cs
- DesignerEditorPartChrome.cs
- CodeIdentifiers.cs
- PersonalizablePropertyEntry.cs
- DataGridColumnCollection.cs
- ParameterDataSourceExpression.cs
- SafeSystemMetrics.cs
- SymbolMethod.cs
- PageScaling.cs
- XmlSerializableServices.cs
- QuestionEventArgs.cs
- HtmlInputButton.cs
- GridViewAutomationPeer.cs
- LoginDesignerUtil.cs
- UnionExpr.cs
- SchemaNames.cs
- Literal.cs
- ExpressionBinding.cs
- ValidationRuleCollection.cs
- Baml2006Reader.cs
- GroupBox.cs
- EmissiveMaterial.cs
- ValueProviderWrapper.cs
- TextMarkerSource.cs
- SectionRecord.cs
- ColorMatrix.cs
- DataIdProcessor.cs
- SchemaElementLookUpTable.cs
- WebControlsSection.cs
- TransformCollection.cs
- ProcessHostConfigUtils.cs
- HtmlInputControl.cs
- NullableDoubleSumAggregationOperator.cs
- WebServiceResponseDesigner.cs
- XmlUtil.cs
- EntityTransaction.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- CryptoKeySecurity.cs
- TransformerInfo.cs
- MouseEvent.cs
- HttpProfileBase.cs
- LoginCancelEventArgs.cs
- HttpClientCertificate.cs
- SpotLight.cs
- AttachedPropertyDescriptor.cs
- RestrictedTransactionalPackage.cs
- TraceLog.cs
- DropDownList.cs
- FormViewRow.cs
- QueryPageSettingsEventArgs.cs
- CodeGeneratorOptions.cs
- Listbox.cs
- X509Chain.cs
- DockAndAnchorLayout.cs
- MetadataException.cs
- GeometryHitTestParameters.cs
- DefaultPrintController.cs
- PathNode.cs
- StringDictionaryEditor.cs
- TextCharacters.cs
- ConfigurationStrings.cs
- Clock.cs
- RoutedCommand.cs
- SmtpClient.cs
- DataGridViewAutoSizeModeEventArgs.cs
- QueryReaderSettings.cs
- DocumentXmlWriter.cs
- ExpressionBuilder.cs
- HttpRuntime.cs
- DataGridViewMethods.cs
- ToolStripProgressBar.cs
- ZipQueryOperator.cs
- DomainConstraint.cs
- TextElementEnumerator.cs
- CollectionViewGroupRoot.cs
- ImageIndexEditor.cs
- MatrixValueSerializer.cs
- IResourceProvider.cs