Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- OdbcConnectionStringbuilder.cs
- ControlCollection.cs
- ColorMatrix.cs
- WindowShowOrOpenTracker.cs
- SessionStateItemCollection.cs
- CryptoKeySecurity.cs
- SqlDependencyUtils.cs
- DataRow.cs
- IISUnsafeMethods.cs
- WindowsIdentity.cs
- FixedTextSelectionProcessor.cs
- _TimerThread.cs
- CatalogZoneBase.cs
- GeneralTransform3DGroup.cs
- HyperLinkField.cs
- DispatcherEventArgs.cs
- TransformCollection.cs
- LinqDataSourceView.cs
- ColumnHeader.cs
- safex509handles.cs
- HttpFileCollectionBase.cs
- SqlDataSourceFilteringEventArgs.cs
- AutoResetEvent.cs
- Switch.cs
- DetailsViewInsertedEventArgs.cs
- LiteralControl.cs
- SequenceDesigner.cs
- SHA256.cs
- IteratorDescriptor.cs
- FtpWebRequest.cs
- CodeMethodReturnStatement.cs
- WebUtil.cs
- StateManagedCollection.cs
- _AuthenticationState.cs
- Column.cs
- PasswordBox.cs
- BreakRecordTable.cs
- FormViewCommandEventArgs.cs
- CodeDomDecompiler.cs
- SessionViewState.cs
- SourceInterpreter.cs
- StyleModeStack.cs
- SqlProfileProvider.cs
- ImportRequest.cs
- DataGridViewSortCompareEventArgs.cs
- SqlConnection.cs
- DetailsView.cs
- BufferedGraphicsContext.cs
- ExpressionTextBox.xaml.cs
- SqlClientMetaDataCollectionNames.cs
- EventDescriptor.cs
- remotingproxy.cs
- NodeLabelEditEvent.cs
- EpmTargetTree.cs
- ObjectMemberMapping.cs
- TracedNativeMethods.cs
- GeometryValueSerializer.cs
- ResourceDisplayNameAttribute.cs
- DesignerOptionService.cs
- CodeCompiler.cs
- ZipIOExtraFieldPaddingElement.cs
- ListViewTableCell.cs
- SchemaTypeEmitter.cs
- CrossAppDomainChannel.cs
- _AutoWebProxyScriptHelper.cs
- CommandTreeTypeHelper.cs
- WindowsNonControl.cs
- InputReferenceExpression.cs
- TagPrefixCollection.cs
- Image.cs
- BooleanExpr.cs
- GrammarBuilderPhrase.cs
- DisplayMemberTemplateSelector.cs
- DnsCache.cs
- DisplayMemberTemplateSelector.cs
- CompilerWrapper.cs
- Byte.cs
- IndexerNameAttribute.cs
- ObjectTypeMapping.cs
- AnonymousIdentificationSection.cs
- UserMapPath.cs
- SettingsPropertyNotFoundException.cs
- SingleAnimation.cs
- XmlWrappingReader.cs
- SslStreamSecurityElement.cs
- UnlockCardRequest.cs
- XmlBindingWorker.cs
- OleDbEnumerator.cs
- DBConnection.cs
- StaticTextPointer.cs
- FontFaceLayoutInfo.cs
- CompoundFileReference.cs
- AsyncSerializedWorker.cs
- UIElement3D.cs
- PropertyIdentifier.cs
- AutomationElement.cs
- RunInstallerAttribute.cs
- PropertyValueUIItem.cs
- SqlConnectionPoolProviderInfo.cs
- AnimationStorage.cs