Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DynamicFilterExpression.cs
- NegotiateStream.cs
- Size3DConverter.cs
- XamlWriter.cs
- CryptoApi.cs
- WebPartExportVerb.cs
- Inline.cs
- ActivityExecutionFilter.cs
- EntityCollection.cs
- ListViewHitTestInfo.cs
- VoiceSynthesis.cs
- ProxyGenerationError.cs
- ExpandCollapsePattern.cs
- EdmPropertyAttribute.cs
- SpecularMaterial.cs
- WebConfigurationHost.cs
- SiteMapDataSourceView.cs
- SignedXml.cs
- AndMessageFilter.cs
- SerialReceived.cs
- TableItemStyle.cs
- DefaultTextStore.cs
- FileStream.cs
- GenerateHelper.cs
- PersonalizationEntry.cs
- TagPrefixAttribute.cs
- EditorZoneBase.cs
- Interlocked.cs
- WebContext.cs
- PassportAuthenticationModule.cs
- VBCodeProvider.cs
- Image.cs
- OdbcFactory.cs
- ProfileSettingsCollection.cs
- PageCanvasSize.cs
- PartialCachingAttribute.cs
- ToolBar.cs
- LassoHelper.cs
- SerializationInfoEnumerator.cs
- TrustLevelCollection.cs
- Tablet.cs
- StrokeNodeOperations2.cs
- Debug.cs
- IsolatedStoragePermission.cs
- TCEAdapterGenerator.cs
- XamlParser.cs
- BounceEase.cs
- sqlcontext.cs
- XPathQueryGenerator.cs
- ActiveXHelper.cs
- PlainXmlDeserializer.cs
- CompiledXpathExpr.cs
- XPathBinder.cs
- MemberAccessException.cs
- SpellerHighlightLayer.cs
- TextParagraph.cs
- ScrollItemPattern.cs
- WinFormsSecurity.cs
- SessionParameter.cs
- AbstractSvcMapFileLoader.cs
- PostBackTrigger.cs
- SplashScreenNativeMethods.cs
- ToolStripSeparator.cs
- StateBag.cs
- Icon.cs
- ComponentDispatcher.cs
- QilXmlReader.cs
- codemethodreferenceexpression.cs
- ScriptingWebServicesSectionGroup.cs
- DataGridViewButtonCell.cs
- OleDbReferenceCollection.cs
- Thumb.cs
- EdmToObjectNamespaceMap.cs
- DbProviderServices.cs
- AuthenticationException.cs
- WebPartDescriptionCollection.cs
- ListSortDescriptionCollection.cs
- String.cs
- PerformanceCounterPermission.cs
- LazyInitializer.cs
- DataTableCollection.cs
- CollectionViewGroup.cs
- XmlReflectionImporter.cs
- TypeNameConverter.cs
- SlipBehavior.cs
- MultiPageTextView.cs
- FilteredAttributeCollection.cs
- PerformanceCounterManager.cs
- FileIOPermission.cs
- ChannelPoolSettings.cs
- SaveFileDialog.cs
- MessageQueueTransaction.cs
- MetabaseServerConfig.cs
- TextRangeSerialization.cs
- HMACRIPEMD160.cs
- LogManagementAsyncResult.cs
- XmlSchemaValidationException.cs
- XdrBuilder.cs
- ApplicationContext.cs
- DoubleCollectionConverter.cs