Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewRowsRemovedEventArgs.cs / 1305376 / 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
- DriveNotFoundException.cs
- DataViewSettingCollection.cs
- CodeGenerator.cs
- ConfigsHelper.cs
- TableParagraph.cs
- Accessible.cs
- InArgumentConverter.cs
- TargetException.cs
- SelectionHighlightInfo.cs
- MultipleViewPattern.cs
- BamlLocalizableResource.cs
- PreparingEnlistment.cs
- XpsPackagingPolicy.cs
- WebPartEditorOkVerb.cs
- InheritanceContextHelper.cs
- SafeNativeMethods.cs
- ExtendLockCommand.cs
- UnsafeNetInfoNativeMethods.cs
- TreeNode.cs
- XPathException.cs
- SoundPlayerAction.cs
- XmlReflectionImporter.cs
- PocoPropertyAccessorStrategy.cs
- WindowProviderWrapper.cs
- EntitySetRetriever.cs
- TraceRecords.cs
- HtmlTableCell.cs
- AppearanceEditorPart.cs
- OdbcCommandBuilder.cs
- SafeThemeHandle.cs
- KeySpline.cs
- Evaluator.cs
- HttpListenerPrefixCollection.cs
- Types.cs
- RemotingServices.cs
- NavigationFailedEventArgs.cs
- QuaternionConverter.cs
- Accessible.cs
- ConfigurationSchemaErrors.cs
- EnumMember.cs
- RequestBringIntoViewEventArgs.cs
- WindowInteractionStateTracker.cs
- WriteTimeStream.cs
- SelectorAutomationPeer.cs
- CultureInfoConverter.cs
- BamlResourceContent.cs
- DSASignatureFormatter.cs
- CustomValidator.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SyntaxCheck.cs
- HandoffBehavior.cs
- ScrollBarRenderer.cs
- FixedFindEngine.cs
- CookieProtection.cs
- RowToParametersTransformer.cs
- ISAPIApplicationHost.cs
- DelayedRegex.cs
- Menu.cs
- HttpConfigurationSystem.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- CircleHotSpot.cs
- milrender.cs
- ETagAttribute.cs
- PageThemeCodeDomTreeGenerator.cs
- ColumnPropertiesGroup.cs
- TablePatternIdentifiers.cs
- UnsafeNativeMethods.cs
- ParameterBuilder.cs
- ReadOnlyKeyedCollection.cs
- TemplatedWizardStep.cs
- BitmapMetadataBlob.cs
- CustomErrorsSection.cs
- odbcmetadatacollectionnames.cs
- ItemList.cs
- SqlComparer.cs
- EndOfStreamException.cs
- Type.cs
- _ProxyRegBlob.cs
- BrowsableAttribute.cs
- AggregateNode.cs
- AvtEvent.cs
- AxisAngleRotation3D.cs
- ContentPosition.cs
- CodeTypeReferenceExpression.cs
- SelectionItemPattern.cs
- ScrollPatternIdentifiers.cs
- TrustLevel.cs
- ListManagerBindingsCollection.cs
- InteropAutomationProvider.cs
- WbmpConverter.cs
- NTAccount.cs
- HtmlTitle.cs
- DecoderNLS.cs
- PagerSettings.cs
- CompositeDuplexBindingElement.cs
- ViewKeyConstraint.cs
- SafeEventLogWriteHandle.cs
- storepermission.cs
- TableLayoutSettings.cs
- CustomBindingElementCollection.cs