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
- DesignerProperties.cs
- GeneralTransformGroup.cs
- ApplicationDirectoryMembershipCondition.cs
- ReadOnlyHierarchicalDataSourceView.cs
- MaskPropertyEditor.cs
- MD5.cs
- ReadOnlyAttribute.cs
- DynamicExpression.cs
- XmlCustomFormatter.cs
- MetadataException.cs
- CodeRegionDirective.cs
- DbConnectionPoolOptions.cs
- EntityTransaction.cs
- EventDriven.cs
- HttpMethodAttribute.cs
- TextEditorCharacters.cs
- EventMappingSettingsCollection.cs
- NumericUpDownAccelerationCollection.cs
- XPathAncestorQuery.cs
- WindowsGraphics2.cs
- ToolStripGripRenderEventArgs.cs
- ContentOperations.cs
- BoundsDrawingContextWalker.cs
- AttributeQuery.cs
- Vector3DAnimationBase.cs
- Ref.cs
- CheckBoxAutomationPeer.cs
- PageStatePersister.cs
- TypeDependencyAttribute.cs
- ThreadPool.cs
- DateTimeFormatInfoScanner.cs
- ModuleElement.cs
- StatusBarAutomationPeer.cs
- SplitterCancelEvent.cs
- Point.cs
- DmlSqlGenerator.cs
- CheckBoxPopupAdapter.cs
- PeekCompletedEventArgs.cs
- hresults.cs
- ClientScriptManagerWrapper.cs
- WrapPanel.cs
- WebPartCollection.cs
- RotationValidation.cs
- TextTreeTextElementNode.cs
- AnchorEditor.cs
- OciEnlistContext.cs
- ConfigurationLocationCollection.cs
- IndentedWriter.cs
- MailHeaderInfo.cs
- CustomErrorsSection.cs
- Geometry.cs
- GreenMethods.cs
- NumberFormatInfo.cs
- DurableOperationContext.cs
- VsPropertyGrid.cs
- KnownTypesHelper.cs
- WebGetAttribute.cs
- HandlerBase.cs
- AtomParser.cs
- WebBaseEventKeyComparer.cs
- shaperfactoryquerycachekey.cs
- SqlRowUpdatingEvent.cs
- CompatibleComparer.cs
- DesignerMetadata.cs
- CodeExpressionStatement.cs
- OleServicesContext.cs
- CFStream.cs
- ServiceDescription.cs
- SharedStatics.cs
- TransactionProtocolConverter.cs
- PLINQETWProvider.cs
- UIntPtr.cs
- DependencyPropertyKey.cs
- MediaElement.cs
- TypeHelpers.cs
- ServicePoint.cs
- ControlBindingsCollection.cs
- ContentValidator.cs
- CodeTypeDeclarationCollection.cs
- dsa.cs
- FixedTextBuilder.cs
- DataControlImageButton.cs
- GridViewRowEventArgs.cs
- IntegerValidator.cs
- SecurityPermission.cs
- ConfigurationElementCollection.cs
- HtmlTitle.cs
- MarkupCompilePass1.cs
- LayoutDump.cs
- SafeHandles.cs
- OrderByLifter.cs
- PreProcessor.cs
- TransactionChannelListener.cs
- DuplicateWaitObjectException.cs
- ReliableSessionBindingElement.cs
- ActivityCollectionMarkupSerializer.cs
- DataControlButton.cs
- VectorConverter.cs
- _LoggingObject.cs
- XmlEnumAttribute.cs