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
- TemplateKey.cs
- BehaviorEditorPart.cs
- SqlServices.cs
- ControlIdConverter.cs
- SortExpressionBuilder.cs
- DataExpression.cs
- ProxyAttribute.cs
- CompiledQueryCacheEntry.cs
- SqlDependencyListener.cs
- CheckBoxStandardAdapter.cs
- CapiNative.cs
- DependencyPropertyConverter.cs
- SpellerInterop.cs
- ServiceOperationListItem.cs
- HostedNamedPipeTransportManager.cs
- _AuthenticationState.cs
- XmlSchemaCollection.cs
- NumericUpDown.cs
- CopyAttributesAction.cs
- RewritingValidator.cs
- wgx_render.cs
- LocationUpdates.cs
- TokenCreationException.cs
- ListChangedEventArgs.cs
- ListItemCollection.cs
- Matrix.cs
- TrackingMemoryStreamFactory.cs
- DummyDataSource.cs
- FixedDSBuilder.cs
- EntityDataSource.cs
- BindingSourceDesigner.cs
- Connector.xaml.cs
- ValidatorCompatibilityHelper.cs
- MsmqIntegrationOutputChannel.cs
- ClientScriptManagerWrapper.cs
- PrintingPermissionAttribute.cs
- XomlCompilerHelpers.cs
- HitTestParameters3D.cs
- Item.cs
- Tablet.cs
- XmlReaderDelegator.cs
- SoapConverter.cs
- UshortList2.cs
- ServiceHostingEnvironmentSection.cs
- AttributedMetaModel.cs
- CheckBoxList.cs
- DataGridrowEditEndingEventArgs.cs
- FormatSettings.cs
- UpWmlMobileTextWriter.cs
- HandlerBase.cs
- ListViewUpdatedEventArgs.cs
- DataGrid.cs
- PersonalizationStateQuery.cs
- TemplatedWizardStep.cs
- InputMethodStateChangeEventArgs.cs
- TextRunTypographyProperties.cs
- BackStopAuthenticationModule.cs
- SqlMultiplexer.cs
- TransformGroup.cs
- SimpleWebHandlerParser.cs
- TreeViewHitTestInfo.cs
- DesignerActionList.cs
- DataGridViewCellValidatingEventArgs.cs
- TableLayoutSettingsTypeConverter.cs
- Assert.cs
- ExceptionHandlerDesigner.cs
- PenLineCapValidation.cs
- HuffCodec.cs
- Decimal.cs
- XmlWrappingReader.cs
- StackOverflowException.cs
- HandlerMappingMemo.cs
- SqlProviderUtilities.cs
- UnorderedHashRepartitionStream.cs
- SiteMapHierarchicalDataSourceView.cs
- Timer.cs
- TextBounds.cs
- DataConnectionHelper.cs
- DataGridCellClipboardEventArgs.cs
- WindowsGrip.cs
- DependencyObjectPropertyDescriptor.cs
- GridViewUpdatedEventArgs.cs
- ActivityExecutorDelegateInfo.cs
- PartialToken.cs
- ErrorHandler.cs
- Condition.cs
- coordinatorfactory.cs
- SudsParser.cs
- DataGridViewRowsAddedEventArgs.cs
- IListConverters.cs
- EventlogProvider.cs
- HostSecurityManager.cs
- StringExpressionSet.cs
- ImageSource.cs
- IndicFontClient.cs
- MDIWindowDialog.cs
- X509SecurityToken.cs
- InkCanvasFeedbackAdorner.cs
- OdbcError.cs
- KnownBoxes.cs