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
- EventItfInfo.cs
- TextEditor.cs
- SqlDataSourceQueryConverter.cs
- XmlSchemaAny.cs
- ValidationSummary.cs
- DataViewManager.cs
- OracleBFile.cs
- CustomAttribute.cs
- QilNode.cs
- FirstMatchCodeGroup.cs
- ArrayListCollectionBase.cs
- ClipboardProcessor.cs
- SettingsPropertyNotFoundException.cs
- NameValuePair.cs
- _SafeNetHandles.cs
- FormatConvertedBitmap.cs
- Table.cs
- ADMembershipUser.cs
- CommentEmitter.cs
- HtmlLink.cs
- NGCSerializerAsync.cs
- HMACRIPEMD160.cs
- HtmlToClrEventProxy.cs
- DataRowComparer.cs
- DataFormats.cs
- ToolboxItem.cs
- TextBlock.cs
- TextTreeRootTextBlock.cs
- SelectionEditor.cs
- WindowsProgressbar.cs
- FileSystemEventArgs.cs
- HttpHeaderCollection.cs
- SymbolEqualComparer.cs
- Transform3DCollection.cs
- FormViewInsertEventArgs.cs
- DataTableCollection.cs
- PersonalizationStateInfoCollection.cs
- ParamArrayAttribute.cs
- MergeFilterQuery.cs
- DesignerAutoFormatCollection.cs
- ComNativeDescriptor.cs
- InputLanguageCollection.cs
- Schema.cs
- ObjectViewListener.cs
- IncomingWebRequestContext.cs
- DataBoundControlDesigner.cs
- RowSpanVector.cs
- MemberHolder.cs
- WebServicesDescriptionAttribute.cs
- StringResourceManager.cs
- _UriTypeConverter.cs
- Rotation3DAnimationUsingKeyFrames.cs
- RoutedUICommand.cs
- FlagsAttribute.cs
- TemplateField.cs
- TableParaClient.cs
- SecurityToken.cs
- WebConfigurationHost.cs
- QilFactory.cs
- SecurityTokenException.cs
- OracleTransaction.cs
- RequestCachePolicyConverter.cs
- DesignerSerializationOptionsAttribute.cs
- RefreshEventArgs.cs
- Menu.cs
- RefType.cs
- DescendantOverDescendantQuery.cs
- FactoryId.cs
- Int32RectConverter.cs
- ZoneLinkButton.cs
- MsmqIntegrationElement.cs
- AppSettingsExpressionBuilder.cs
- RetrieveVirtualItemEventArgs.cs
- WindowsToolbarItemAsMenuItem.cs
- VScrollProperties.cs
- CultureInfoConverter.cs
- figurelength.cs
- XmlStringTable.cs
- QuestionEventArgs.cs
- DataTableMapping.cs
- SpinWait.cs
- VariableAction.cs
- ProxyFragment.cs
- MarkupWriter.cs
- FixedMaxHeap.cs
- BinaryObjectInfo.cs
- RoutedEventHandlerInfo.cs
- Int32.cs
- FloaterBaseParagraph.cs
- DesignerVerb.cs
- VirtualPathProvider.cs
- HostedHttpTransportManager.cs
- DesignerRegionCollection.cs
- ExpressionBinding.cs
- CodeDOMProvider.cs
- InheritanceContextHelper.cs
- InvalidAsynchronousStateException.cs
- Unit.cs
- StringReader.cs
- RequestNavigateEventArgs.cs