Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewRowsRemovedEventArgs.cs / 1305376 / 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
- BaseParagraph.cs
- WeakHashtable.cs
- LinkArea.cs
- WhitespaceSignificantCollectionAttribute.cs
- FileSecurity.cs
- ColorAnimation.cs
- CodeStatementCollection.cs
- HwndHost.cs
- TransactionTraceIdentifier.cs
- ToolStrip.cs
- graph.cs
- Vector3DIndependentAnimationStorage.cs
- NamespaceInfo.cs
- MobileSysDescriptionAttribute.cs
- ViewStateException.cs
- TableCell.cs
- ObjectDataSourceChooseMethodsPanel.cs
- Convert.cs
- Inflater.cs
- JavaScriptObjectDeserializer.cs
- EntityModelSchemaGenerator.cs
- ContainerUtilities.cs
- ListViewAutomationPeer.cs
- COMException.cs
- ExtensionSimplifierMarkupObject.cs
- XmlTextEncoder.cs
- _ConnectionGroup.cs
- IncomingWebRequestContext.cs
- DateTimeUtil.cs
- Helper.cs
- XmlSchemaAnnotation.cs
- HtmlContainerControl.cs
- AuthStoreRoleProvider.cs
- RefExpr.cs
- WinFormsSecurity.cs
- CriticalHandle.cs
- CollectionViewGroupRoot.cs
- ZipPackage.cs
- WebSysDisplayNameAttribute.cs
- DES.cs
- BitmapFrameEncode.cs
- QueryReaderSettings.cs
- HostProtectionPermission.cs
- ConditionValidator.cs
- MessageQueue.cs
- SQLDecimalStorage.cs
- SqlOuterApplyReducer.cs
- RenderingBiasValidation.cs
- AspNetRouteServiceHttpHandler.cs
- LineUtil.cs
- AnchoredBlock.cs
- PriorityItem.cs
- XmlDigitalSignatureProcessor.cs
- PropertyGridCommands.cs
- DrawingBrush.cs
- EdmConstants.cs
- EpmContentDeSerializerBase.cs
- LogSwitch.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- WorkflowInstanceExtensionProvider.cs
- ThreadAbortException.cs
- SystemKeyConverter.cs
- WebPartMenuStyle.cs
- Attributes.cs
- SqlDataSource.cs
- SystemUdpStatistics.cs
- ColumnResizeAdorner.cs
- ToolZone.cs
- AnnotationStore.cs
- CurrentTimeZone.cs
- ProgressBarAutomationPeer.cs
- RoleService.cs
- HelpEvent.cs
- PropertyGridCommands.cs
- BezierSegment.cs
- HttpApplicationStateWrapper.cs
- Annotation.cs
- SecureStringHasher.cs
- HtmlEmptyTagControlBuilder.cs
- FileLoadException.cs
- IODescriptionAttribute.cs
- DictionaryChange.cs
- WebPartCollection.cs
- RichTextBoxConstants.cs
- TrackingProfileCache.cs
- Wildcard.cs
- DateTime.cs
- DateTimeStorage.cs
- HttpCacheParams.cs
- MessagingDescriptionAttribute.cs
- ContentDisposition.cs
- SaveFileDialog.cs
- TextTreeRootTextBlock.cs
- SelectionGlyphBase.cs
- TransformerInfo.cs
- ReadOnlyHierarchicalDataSource.cs
- ScriptResourceInfo.cs
- unsafeIndexingFilterStream.cs
- TrackingProfileSerializer.cs
- MenuItemStyleCollection.cs