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
- XhtmlBasicPhoneCallAdapter.cs
- ComboBoxDesigner.cs
- TextEndOfLine.cs
- XmlName.cs
- VectorConverter.cs
- ToolStrip.cs
- BulletDecorator.cs
- CalendarDay.cs
- FontFamilyIdentifier.cs
- DbDataAdapter.cs
- SchemaElement.cs
- SystemInfo.cs
- Formatter.cs
- ValueUtilsSmi.cs
- GroupBoxAutomationPeer.cs
- RtType.cs
- TemplateModeChangedEventArgs.cs
- SecurityTokenParametersEnumerable.cs
- BroadcastEventHelper.cs
- CroppedBitmap.cs
- MaskedTextBox.cs
- ISessionStateStore.cs
- SmiTypedGetterSetter.cs
- BaseUriHelper.cs
- DataRowView.cs
- WebBrowserEvent.cs
- AnimationStorage.cs
- DataGridViewCellValidatingEventArgs.cs
- ActivationServices.cs
- RestHandler.cs
- TraceContextEventArgs.cs
- AssociatedControlConverter.cs
- Transform3DGroup.cs
- TransformationRules.cs
- XPathDescendantIterator.cs
- ProcessModuleDesigner.cs
- WindowsListViewGroup.cs
- ValueExpressions.cs
- Error.cs
- HttpCookieCollection.cs
- DocumentOrderComparer.cs
- SHA1CryptoServiceProvider.cs
- TextServicesLoader.cs
- UiaCoreApi.cs
- Table.cs
- OrderByExpression.cs
- RegexGroup.cs
- CheckBox.cs
- StylusCollection.cs
- DataSourceUtil.cs
- Timer.cs
- ExtensionWindow.cs
- SqlDataSourceFilteringEventArgs.cs
- TemplateControlBuildProvider.cs
- PersonalizationEntry.cs
- ForeignKeyConstraint.cs
- DockPattern.cs
- WebPartChrome.cs
- PrintEvent.cs
- ToolStripDropDownClosingEventArgs.cs
- FormsAuthenticationConfiguration.cs
- InvalidAsynchronousStateException.cs
- GenericFlowSwitchHelper.cs
- DuplexClientBase.cs
- DetailsViewRow.cs
- EntityFrameworkVersions.cs
- Rules.cs
- DrawingGroup.cs
- ClipboardData.cs
- TimeSpanSecondsConverter.cs
- StructureChangedEventArgs.cs
- BaseResourcesBuildProvider.cs
- UpdateTracker.cs
- PathFigure.cs
- ExitEventArgs.cs
- Nodes.cs
- Stroke2.cs
- DataGridViewCellStyle.cs
- DBNull.cs
- SmiRequestExecutor.cs
- TreeNodeStyleCollection.cs
- PieceDirectory.cs
- DataGridViewTopRowAccessibleObject.cs
- PartialCachingAttribute.cs
- ConfigXmlComment.cs
- processwaithandle.cs
- EmbeddedMailObject.cs
- ResourceReferenceExpression.cs
- HwndSourceKeyboardInputSite.cs
- Tablet.cs
- WSDualHttpSecurity.cs
- AdRotator.cs
- StrongNameKeyPair.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- MessageQueueInstaller.cs
- CommandArguments.cs
- TextTabProperties.cs
- Vector3DAnimationBase.cs
- PermissionAttributes.cs
- TypeListConverter.cs