Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewRowsRemovedEventArgs.cs / 1 / 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
- FocusWithinProperty.cs
- CustomTrackingQuery.cs
- SelectorItemAutomationPeer.cs
- ViewKeyConstraint.cs
- PathGeometry.cs
- bidPrivateBase.cs
- ScrollBar.cs
- InlineObject.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- MsmqAuthenticationMode.cs
- DocumentCollection.cs
- EncoderParameters.cs
- Missing.cs
- TableCell.cs
- MenuItemStyle.cs
- GroupDescription.cs
- BuildResultCache.cs
- DetailsView.cs
- RequestCachingSection.cs
- FilterQuery.cs
- NumberFormatter.cs
- SplitterPanel.cs
- Buffer.cs
- arc.cs
- GcHandle.cs
- DataRecordObjectView.cs
- GridViewUpdateEventArgs.cs
- TreeSet.cs
- FieldMetadata.cs
- DoubleAnimationUsingPath.cs
- Message.cs
- StatusBar.cs
- InheritedPropertyDescriptor.cs
- AspCompat.cs
- HttpCacheVary.cs
- WindowsTab.cs
- EditorPartCollection.cs
- DropSource.cs
- ConnectionPoolManager.cs
- SignedInfo.cs
- SettingsBindableAttribute.cs
- Win32.cs
- PackagePartCollection.cs
- WindowsPen.cs
- SpeakProgressEventArgs.cs
- QuotedStringFormatReader.cs
- InvalidPropValue.cs
- __ComObject.cs
- ValidationRuleCollection.cs
- ToolStripContentPanelRenderEventArgs.cs
- unsafenativemethodstextservices.cs
- ProviderSettingsCollection.cs
- XmlConverter.cs
- ResourceReferenceExpressionConverter.cs
- AssemblyName.cs
- Exceptions.cs
- XmlLangPropertyAttribute.cs
- HandlerBase.cs
- CollectionChangeEventArgs.cs
- XmlArrayItemAttributes.cs
- XmlSchemaSimpleTypeList.cs
- EpmContentSerializer.cs
- MapPathBasedVirtualPathProvider.cs
- HostingEnvironmentException.cs
- LOSFormatter.cs
- AssociationTypeEmitter.cs
- WorkerRequest.cs
- UnauthorizedAccessException.cs
- WebDisplayNameAttribute.cs
- PartManifestEntry.cs
- ThrowOnMultipleAssignment.cs
- CustomLineCap.cs
- DashStyle.cs
- OraclePermission.cs
- RuntimeTransactionHandle.cs
- DesignerLoader.cs
- TypeViewSchema.cs
- PageSettings.cs
- EditorZone.cs
- ClientApiGenerator.cs
- Tuple.cs
- ComponentEditorForm.cs
- BaseAppDomainProtocolHandler.cs
- PenThreadPool.cs
- SqlDataSourceCache.cs
- CompilerCollection.cs
- RepeaterItemCollection.cs
- CodeIdentifiers.cs
- RC2CryptoServiceProvider.cs
- Encoding.cs
- MdImport.cs
- DecimalKeyFrameCollection.cs
- SqlUdtInfo.cs
- CurrentChangedEventManager.cs
- MessageQueueConverter.cs
- ExpanderAutomationPeer.cs
- ItemContainerPattern.cs
- SiteMap.cs
- RegexStringValidator.cs
- Context.cs