Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- LoadGrammarCompletedEventArgs.cs
- ManipulationDevice.cs
- counter.cs
- HttpValueCollection.cs
- HostingPreferredMapPath.cs
- Conditional.cs
- _DisconnectOverlappedAsyncResult.cs
- WebScriptMetadataFormatter.cs
- JsonXmlDataContract.cs
- MulticastOption.cs
- RTLAwareMessageBox.cs
- ConfigurationManagerHelperFactory.cs
- ShaperBuffers.cs
- MethodImplAttribute.cs
- CodeVariableReferenceExpression.cs
- ClusterRegistryConfigurationProvider.cs
- TableAutomationPeer.cs
- XamlFrame.cs
- OracleDataReader.cs
- StrokeCollectionConverter.cs
- ExcCanonicalXml.cs
- AnonymousIdentificationSection.cs
- XmlNamespaceManager.cs
- DataListComponentEditor.cs
- _HelperAsyncResults.cs
- WorkflowRuntimeServiceElementCollection.cs
- DataGridHeaderBorder.cs
- OdbcEnvironmentHandle.cs
- ReflectPropertyDescriptor.cs
- ServiceModelStringsVersion1.cs
- EditableTreeList.cs
- EntityDataReader.cs
- PointF.cs
- ContainsRowNumberChecker.cs
- NumberFormatter.cs
- DeferredElementTreeState.cs
- WinCategoryAttribute.cs
- LocalizableAttribute.cs
- HttpRuntimeSection.cs
- DynamicDiscoveryDocument.cs
- SerializerDescriptor.cs
- RegexWorker.cs
- NamespaceQuery.cs
- XmlWriterTraceListener.cs
- Substitution.cs
- Authorization.cs
- BrowserCapabilitiesFactoryBase.cs
- XmlUnspecifiedAttribute.cs
- WebConfigurationFileMap.cs
- User.cs
- StaticExtensionConverter.cs
- DataGridViewCellFormattingEventArgs.cs
- EnumerableCollectionView.cs
- UnionQueryOperator.cs
- Symbol.cs
- UriPrefixTable.cs
- TextBounds.cs
- MethodExpr.cs
- AttributeExtensions.cs
- AppModelKnownContentFactory.cs
- Point3D.cs
- HttpApplicationFactory.cs
- DataGridViewRowCollection.cs
- MsmqInputChannelListenerBase.cs
- InternalUserCancelledException.cs
- SchemaNotation.cs
- XmlSchemaComplexContent.cs
- SecurityElement.cs
- SystemIPGlobalStatistics.cs
- SqlDelegatedTransaction.cs
- XslException.cs
- DataSourceXmlSerializationAttribute.cs
- SqlReorderer.cs
- BitConverter.cs
- ValueQuery.cs
- Content.cs
- XmlWrappingWriter.cs
- ContainerParagraph.cs
- AstTree.cs
- UserNamePasswordValidator.cs
- DrawingBrush.cs
- Font.cs
- ModelItemImpl.cs
- DataGridViewTextBoxCell.cs
- UnknownBitmapEncoder.cs
- PagePropertiesChangingEventArgs.cs
- SoapAttributes.cs
- TextContainerChangeEventArgs.cs
- DrawingVisual.cs
- X509Extension.cs
- ReflectTypeDescriptionProvider.cs
- ExtendedProperty.cs
- SpAudioStreamWrapper.cs
- SimpleRecyclingCache.cs
- GridViewRowCollection.cs
- TextEditorCharacters.cs
- GPPOINTF.cs
- BindToObject.cs
- CodeExpressionStatement.cs
- ArrangedElement.cs