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
- cookiecontainer.cs
- SecurityStandardsManager.cs
- ArgumentException.cs
- ThreadInterruptedException.cs
- HttpInputStream.cs
- ImageBrush.cs
- SymLanguageVendor.cs
- DeviceSpecificDialogCachedState.cs
- WebReference.cs
- CodeChecksumPragma.cs
- PaperSource.cs
- ProcessModelInfo.cs
- OdbcEnvironmentHandle.cs
- Input.cs
- QilCloneVisitor.cs
- Claim.cs
- DataRelationCollection.cs
- XmlNode.cs
- MenuAdapter.cs
- CookieParameter.cs
- _BasicClient.cs
- UseLicense.cs
- ServiceDescriptionSerializer.cs
- FrameworkPropertyMetadata.cs
- CompensateDesigner.cs
- TdsParserSessionPool.cs
- CallContext.cs
- Rss20ItemFormatter.cs
- DictionaryGlobals.cs
- DrawListViewColumnHeaderEventArgs.cs
- URLIdentityPermission.cs
- XmlDataSource.cs
- TemplatePartAttribute.cs
- XamlToRtfParser.cs
- DeviceContexts.cs
- UnconditionalPolicy.cs
- SafePEFileHandle.cs
- TypeDescriptionProviderAttribute.cs
- elementinformation.cs
- ClaimComparer.cs
- FindCriteria11.cs
- DllNotFoundException.cs
- DrawingContext.cs
- IndentedWriter.cs
- ProfileInfo.cs
- SystemFonts.cs
- XmlDataSource.cs
- RectangleGeometry.cs
- TemplateManager.cs
- LocatorPart.cs
- Hashtable.cs
- NavigationProperty.cs
- TripleDESCryptoServiceProvider.cs
- SyncMethodInvoker.cs
- PathFigure.cs
- HtmlInputReset.cs
- DomNameTable.cs
- RecognizedWordUnit.cs
- StorageRoot.cs
- DataTableCollection.cs
- DataGridViewColumnTypePicker.cs
- CfgParser.cs
- EntityCodeGenerator.cs
- TemplatePropertyEntry.cs
- TransformFinalBlockRequest.cs
- DataBindingExpressionBuilder.cs
- EdmError.cs
- HeaderCollection.cs
- IOException.cs
- DynamicPropertyHolder.cs
- GlyphRunDrawing.cs
- GridViewRow.cs
- GeneralEndpointIdentity.cs
- ControlCollection.cs
- TimelineClockCollection.cs
- CacheSection.cs
- MailWebEventProvider.cs
- FixedSOMSemanticBox.cs
- GenericTypeParameterBuilder.cs
- TransactionInterop.cs
- TreeNodeBindingCollection.cs
- Rijndael.cs
- MimeTypeMapper.cs
- Wizard.cs
- ViewStateModeByIdAttribute.cs
- CollectionViewProxy.cs
- ProgressBarHighlightConverter.cs
- DoubleAnimation.cs
- DynamicScriptObject.cs
- EdmPropertyAttribute.cs
- TextEditorCopyPaste.cs
- CorePropertiesFilter.cs
- XmlIlVisitor.cs
- LineGeometry.cs
- LookupNode.cs
- SerializationSectionGroup.cs
- DataViewManager.cs
- DragStartedEventArgs.cs
- HelpEvent.cs
- Clock.cs