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
- XhtmlBasicValidationSummaryAdapter.cs
- ConfigurationLockCollection.cs
- SecurityHelper.cs
- ErrorItem.cs
- CacheOutputQuery.cs
- TraceLevelStore.cs
- AnnotationResourceCollection.cs
- Mouse.cs
- DetailsViewDeletedEventArgs.cs
- RewritingSimplifier.cs
- AddingNewEventArgs.cs
- PropertyInformationCollection.cs
- MobileControlBuilder.cs
- PackageRelationshipSelector.cs
- IndicCharClassifier.cs
- TemplateBuilder.cs
- NamespaceDecl.cs
- PageMediaType.cs
- RoleServiceManager.cs
- WindowsListBox.cs
- XmlRawWriterWrapper.cs
- XmlUtil.cs
- TextMetrics.cs
- SpecularMaterial.cs
- Comparer.cs
- XPathNavigatorKeyComparer.cs
- PageCatalogPartDesigner.cs
- ComPlusInstanceProvider.cs
- AutoResetEvent.cs
- DataGridViewCellStyleChangedEventArgs.cs
- DeflateStream.cs
- TableLayoutCellPaintEventArgs.cs
- CellLabel.cs
- RegexParser.cs
- SystemColors.cs
- RulePatternOps.cs
- ValidationRuleCollection.cs
- GridViewCommandEventArgs.cs
- UnsafeNativeMethodsTablet.cs
- ScopedMessagePartSpecification.cs
- FileVersion.cs
- ListDictionary.cs
- QuadraticBezierSegment.cs
- HwndAppCommandInputProvider.cs
- LinkUtilities.cs
- RootBrowserWindow.cs
- Span.cs
- RoleGroupCollection.cs
- DrawingServices.cs
- BamlResourceContent.cs
- DetailsView.cs
- Message.cs
- ToolboxComponentsCreatedEventArgs.cs
- SchemaHelper.cs
- InvalidateEvent.cs
- DbProviderFactoriesConfigurationHandler.cs
- ListMarkerLine.cs
- srgsitem.cs
- InterleavedZipPartStream.cs
- WindowsHyperlink.cs
- XPathPatternBuilder.cs
- AutomationPatternInfo.cs
- DataRecordInternal.cs
- NotSupportedException.cs
- PointLight.cs
- PeerEndPoint.cs
- HttpRuntimeSection.cs
- CodeIdentifier.cs
- DataSourceConverter.cs
- HttpValueCollection.cs
- ColorTransform.cs
- HttpRuntime.cs
- MapPathBasedVirtualPathProvider.cs
- SerializerDescriptor.cs
- HostedHttpTransportManager.cs
- Context.cs
- DataGridViewRowPrePaintEventArgs.cs
- HasCopySemanticsAttribute.cs
- TriggerBase.cs
- Win32Native.cs
- IIS7WorkerRequest.cs
- SessionState.cs
- BitmapImage.cs
- DataServiceQuery.cs
- BindingNavigator.cs
- GuidelineSet.cs
- StretchValidation.cs
- filewebrequest.cs
- BreakRecordTable.cs
- PluralizationServiceUtil.cs
- HtmlControl.cs
- DataSourceXmlElementAttribute.cs
- FamilyTypefaceCollection.cs
- PeerNearMe.cs
- WebRequestModuleElementCollection.cs
- XmlCharType.cs
- MenuItem.cs
- ReferencedAssembly.cs
- PageAsyncTaskManager.cs
- WebPartMovingEventArgs.cs