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
- TemplateXamlParser.cs
- ElementUtil.cs
- ArraySegment.cs
- SafeSecurityHandles.cs
- LambdaCompiler.Statements.cs
- BamlLocalizer.cs
- TypeSource.cs
- ServiceReference.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- DataBindingCollectionConverter.cs
- XmlnsCompatibleWithAttribute.cs
- NumberFunctions.cs
- PerformanceCounterPermissionAttribute.cs
- SafeNativeMethodsCLR.cs
- securitycriticaldataClass.cs
- UnsafeNetInfoNativeMethods.cs
- EmptyQuery.cs
- DbDataRecord.cs
- TextSelection.cs
- AudioFormatConverter.cs
- BaseDataListComponentEditor.cs
- NullableBoolConverter.cs
- StringBlob.cs
- OptimizedTemplateContentHelper.cs
- PersonalizableTypeEntry.cs
- WindowPattern.cs
- WebControlParameterProxy.cs
- StylusDevice.cs
- SettingsAttributeDictionary.cs
- XamlFilter.cs
- XmlDataSourceView.cs
- HandleCollector.cs
- TreeNodeSelectionProcessor.cs
- CommandValueSerializer.cs
- Translator.cs
- WeakReferenceList.cs
- DataFieldEditor.cs
- CodeStatement.cs
- IChannel.cs
- Attributes.cs
- SharedMemory.cs
- BrowsableAttribute.cs
- SyndicationFeed.cs
- SettingsBindableAttribute.cs
- CodeArrayCreateExpression.cs
- SafeCertificateContext.cs
- DelegateSerializationHolder.cs
- CodeIndexerExpression.cs
- smtppermission.cs
- GridViewCancelEditEventArgs.cs
- DataAdapter.cs
- WebPartZoneCollection.cs
- invalidudtexception.cs
- LoginName.cs
- WarningException.cs
- XmlCharCheckingWriter.cs
- DesignerVerb.cs
- TrackingMemoryStreamFactory.cs
- ByteBufferPool.cs
- CellCreator.cs
- UndirectedGraph.cs
- ColorKeyFrameCollection.cs
- SoapInteropTypes.cs
- Control.cs
- QuaternionValueSerializer.cs
- Authorization.cs
- FunctionQuery.cs
- AutoGeneratedField.cs
- LiteralControl.cs
- ISCIIEncoding.cs
- ElementHostPropertyMap.cs
- SamlAttribute.cs
- ClientViaElement.cs
- SemanticAnalyzer.cs
- InProcStateClientManager.cs
- ZipIOExtraFieldZip64Element.cs
- BamlRecords.cs
- Events.cs
- TreeNode.cs
- CounterSample.cs
- OrthographicCamera.cs
- HideDisabledControlAdapter.cs
- ObjectNavigationPropertyMapping.cs
- UniqueConstraint.cs
- SmtpNetworkElement.cs
- TextControlDesigner.cs
- ZipArchive.cs
- RightsManagementInformation.cs
- TextBoxAutoCompleteSourceConverter.cs
- SessionPageStatePersister.cs
- SqlDataSourceCustomCommandEditor.cs
- ServicesUtilities.cs
- ChildTable.cs
- UmAlQuraCalendar.cs
- BindingParameterCollection.cs
- EditorZone.cs
- datacache.cs
- LineVisual.cs
- BamlLocalizableResourceKey.cs
- XmlSchemaCompilationSettings.cs