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
- WsatConfiguration.cs
- ClassHandlersStore.cs
- CommonDialog.cs
- XmlSchemaDatatype.cs
- HttpListener.cs
- QueryContinueDragEventArgs.cs
- ServicesExceptionNotHandledEventArgs.cs
- ClusterUtils.cs
- FileSystemWatcher.cs
- DataSourceView.cs
- XmlHierarchicalDataSourceView.cs
- AutomationPropertyInfo.cs
- NativeMsmqMessage.cs
- PtsCache.cs
- OrderByBuilder.cs
- UriTemplateLiteralQueryValue.cs
- DataBoundControlActionList.cs
- FileLoadException.cs
- VectorAnimation.cs
- MessageQueueCriteria.cs
- AggregateNode.cs
- XmlCollation.cs
- QilTargetType.cs
- SafeNativeMethods.cs
- DataBoundControlActionList.cs
- loginstatus.cs
- XmlSubtreeReader.cs
- JumpList.cs
- ChameleonKey.cs
- CommandLibraryHelper.cs
- ColumnResizeAdorner.cs
- BitmapMetadataEnumerator.cs
- DotExpr.cs
- CodeLinePragma.cs
- VisualProxy.cs
- XmlTextReaderImpl.cs
- IsolatedStorageException.cs
- ToolStripSplitButton.cs
- FontSourceCollection.cs
- GiveFeedbackEvent.cs
- CqlErrorHelper.cs
- ThemeDirectoryCompiler.cs
- SubordinateTransaction.cs
- SoapMessage.cs
- SecondaryIndexDefinition.cs
- RbTree.cs
- ConfigXmlComment.cs
- X509ChainElement.cs
- InOutArgument.cs
- KeyTime.cs
- Perspective.cs
- HtmlShim.cs
- WebBrowserContainer.cs
- ExpandedProjectionNode.cs
- ItemCollection.cs
- SmtpFailedRecipientException.cs
- DocumentPageViewAutomationPeer.cs
- ConfigXmlText.cs
- DigitShape.cs
- ContentFilePart.cs
- AuthenticationSection.cs
- basevalidator.cs
- FocusManager.cs
- DataExchangeServiceBinder.cs
- ColorConvertedBitmap.cs
- RevocationPoint.cs
- ProcessModuleCollection.cs
- Config.cs
- GridViewSelectEventArgs.cs
- DataExpression.cs
- Evidence.cs
- StagingAreaInputItem.cs
- CollectionsUtil.cs
- Substitution.cs
- ExtensibleClassFactory.cs
- BindStream.cs
- GridSplitter.cs
- DnsPermission.cs
- StringAttributeCollection.cs
- ConfigurationSectionGroup.cs
- ConfigurationLocationCollection.cs
- Translator.cs
- CharAnimationUsingKeyFrames.cs
- TabControl.cs
- RequestDescription.cs
- CustomAttributeBuilder.cs
- SoapAttributes.cs
- RootProfilePropertySettingsCollection.cs
- PeerName.cs
- RuntimeResourceSet.cs
- SqlNamer.cs
- XmlAutoDetectWriter.cs
- ValidatorAttribute.cs
- PropertyGridView.cs
- RayHitTestParameters.cs
- WSFederationHttpBindingElement.cs
- SqlNotificationEventArgs.cs
- NestedContainer.cs
- XmlChoiceIdentifierAttribute.cs
- MemberAccessException.cs