Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewRowsRemovedEventArgs.cs / 1305376 / DataGridViewRowsRemovedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; using System.Globalization; ///public class DataGridViewRowsRemovedEventArgs : EventArgs { private int rowIndex, rowCount; /// public DataGridViewRowsRemovedEventArgs(int rowIndex, int rowCount) { if (rowIndex < 0) { throw new ArgumentOutOfRangeException("rowIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); } if (rowCount < 1) { throw new ArgumentOutOfRangeException("rowCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowCount", rowCount.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); } this.rowIndex = rowIndex; this.rowCount = rowCount; } /// public int RowIndex { get { return this.rowIndex; } } /// public int RowCount { get { return this.rowCount; } } } } // 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; using System.Globalization; ///public class DataGridViewRowsRemovedEventArgs : EventArgs { private int rowIndex, rowCount; /// public DataGridViewRowsRemovedEventArgs(int rowIndex, int rowCount) { if (rowIndex < 0) { throw new ArgumentOutOfRangeException("rowIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); } if (rowCount < 1) { throw new ArgumentOutOfRangeException("rowCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowCount", rowCount.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); } this.rowIndex = rowIndex; this.rowCount = rowCount; } /// public int RowIndex { get { return this.rowIndex; } } /// public int RowCount { get { return this.rowCount; } } } } // 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
- CqlIdentifiers.cs
- MatrixCamera.cs
- Privilege.cs
- SerializationFieldInfo.cs
- BitmapEffectInput.cs
- CurrentChangedEventManager.cs
- DataGridLengthConverter.cs
- Int32Rect.cs
- CollectionTypeElement.cs
- EventListener.cs
- XmlRootAttribute.cs
- peernodestatemanager.cs
- ReferentialConstraint.cs
- MediaElementAutomationPeer.cs
- _CommandStream.cs
- Brushes.cs
- AesManaged.cs
- ToolbarAUtomationPeer.cs
- ResXResourceWriter.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- RegionData.cs
- ReflectionHelper.cs
- PublishLicense.cs
- JournalEntryStack.cs
- TypeGeneratedEventArgs.cs
- DiagnosticTrace.cs
- Int32CollectionValueSerializer.cs
- ReversePositionQuery.cs
- PlaceHolder.cs
- ObjectDisposedException.cs
- IProvider.cs
- ProxyWebPartManager.cs
- BulletedListEventArgs.cs
- _RegBlobWebProxyDataBuilder.cs
- OleDbParameterCollection.cs
- WebConfigurationManager.cs
- XmlDownloadManager.cs
- WebPartTransformerCollection.cs
- UnSafeCharBuffer.cs
- ClientBuildManager.cs
- SemanticBasicElement.cs
- EventData.cs
- ADConnectionHelper.cs
- XmlUTF8TextReader.cs
- NameValueConfigurationCollection.cs
- ListCollectionView.cs
- SchemaDeclBase.cs
- AQNBuilder.cs
- DataErrorValidationRule.cs
- DbConnectionFactory.cs
- Utils.cs
- PerfCounters.cs
- ConfigsHelper.cs
- StylusOverProperty.cs
- StorageScalarPropertyMapping.cs
- DrawingServices.cs
- ExeConfigurationFileMap.cs
- EncoderFallback.cs
- JpegBitmapDecoder.cs
- PathFigureCollectionConverter.cs
- TransformValueSerializer.cs
- PropertyPushdownHelper.cs
- WinFormsSecurity.cs
- Durable.cs
- LiteralControl.cs
- ResourceWriter.cs
- KeyFrames.cs
- SelectingProviderEventArgs.cs
- EpmSyndicationContentSerializer.cs
- XmlTypeMapping.cs
- AgileSafeNativeMemoryHandle.cs
- SqlServer2KCompatibilityAnnotation.cs
- Binding.cs
- CodeSubDirectory.cs
- TextBlockAutomationPeer.cs
- EditorAttribute.cs
- SqlNode.cs
- GridViewCommandEventArgs.cs
- XmlDesigner.cs
- ObjectSecurity.cs
- HttpException.cs
- ValueUtilsSmi.cs
- SortFieldComparer.cs
- ContextStaticAttribute.cs
- Empty.cs
- ColumnPropertiesGroup.cs
- MailBnfHelper.cs
- CommandField.cs
- ClonableStack.cs
- XmlILIndex.cs
- TextWriterEngine.cs
- XmlSchemaAttributeGroup.cs
- StringConcat.cs
- FilterException.cs
- CodeDOMUtility.cs
- UnsafeNativeMethods.cs
- GlobalizationSection.cs
- ApplicationSettingsBase.cs
- MemoryResponseElement.cs
- SplashScreenNativeMethods.cs