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
- BooleanToVisibilityConverter.cs
- FormsIdentity.cs
- UpdatePanel.cs
- DataObjectCopyingEventArgs.cs
- OperandQuery.cs
- SubMenuStyleCollection.cs
- CompressedStack.cs
- ControlPaint.cs
- AssemblyCache.cs
- GeometryConverter.cs
- DateTimeUtil.cs
- MergablePropertyAttribute.cs
- XmlSchemaSubstitutionGroup.cs
- PersonalizablePropertyEntry.cs
- SharedDp.cs
- GetMemberBinder.cs
- ToolBarButtonDesigner.cs
- MatrixAnimationUsingPath.cs
- WindowsRegion.cs
- DataGridDetailsPresenter.cs
- Ref.cs
- CodeTypeDeclaration.cs
- VolatileEnlistmentMultiplexing.cs
- X509ImageLogo.cs
- MasterPageParser.cs
- EntityClassGenerator.cs
- ControlEvent.cs
- ProcessInputEventArgs.cs
- DataBindingsDialog.cs
- VectorKeyFrameCollection.cs
- SimpleFieldTemplateUserControl.cs
- DispatcherOperation.cs
- SafeArrayRankMismatchException.cs
- SerialErrors.cs
- RawStylusInputCustomData.cs
- JsonQueryStringConverter.cs
- CodeLabeledStatement.cs
- Util.cs
- RegisteredExpandoAttribute.cs
- ObjectComplexPropertyMapping.cs
- CustomValidator.cs
- CssTextWriter.cs
- GroupJoinQueryOperator.cs
- Calendar.cs
- Site.cs
- HostAdapter.cs
- SiteMapProvider.cs
- SspiSafeHandles.cs
- _CookieModule.cs
- ContentFileHelper.cs
- AssemblyBuilderData.cs
- CanExecuteRoutedEventArgs.cs
- AnimationLayer.cs
- PersistChildrenAttribute.cs
- MenuAdapter.cs
- ListBindingConverter.cs
- ConstraintStruct.cs
- XamlSerializer.cs
- DecimalAnimationUsingKeyFrames.cs
- DataGridViewToolTip.cs
- Win32Exception.cs
- CompleteWizardStep.cs
- WsdlInspector.cs
- DefaultDialogButtons.cs
- RC2.cs
- PeerNameResolver.cs
- PrivacyNoticeBindingElement.cs
- PlatformNotSupportedException.cs
- FontStretch.cs
- XamlVector3DCollectionSerializer.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- DocumentApplicationJournalEntry.cs
- InputScopeConverter.cs
- ReaderWriterLock.cs
- InputProcessorProfilesLoader.cs
- ClientSideProviderDescription.cs
- Triplet.cs
- RadioButtonAutomationPeer.cs
- IsolatedStorageFilePermission.cs
- Config.cs
- Int32Rect.cs
- ErrorEventArgs.cs
- DataBoundControlActionList.cs
- HttpClientChannel.cs
- SizeConverter.cs
- BufferModesCollection.cs
- CharAnimationUsingKeyFrames.cs
- LayoutExceptionEventArgs.cs
- SqlXmlStorage.cs
- CommonGetThemePartSize.cs
- RegionInfo.cs
- HMACSHA1.cs
- PackageRelationship.cs
- FindCriteriaElement.cs
- ListViewEditEventArgs.cs
- RadioButtonDesigner.cs
- CancellationToken.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- UIElement.cs
- Latin1Encoding.cs