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
- SqlDataSourceCache.cs
- WebPartTransformer.cs
- IPPacketInformation.cs
- Semaphore.cs
- DrawingBrush.cs
- BitFlagsGenerator.cs
- CleanUpVirtualizedItemEventArgs.cs
- IUnknownConstantAttribute.cs
- ComboBoxRenderer.cs
- WhitespaceSignificantCollectionAttribute.cs
- Stream.cs
- WorkItem.cs
- CharacterString.cs
- FontStretch.cs
- TextTreeRootTextBlock.cs
- XmlDocumentType.cs
- DocumentViewerHelper.cs
- ShutDownListener.cs
- SQLGuidStorage.cs
- MetadataCacheItem.cs
- DictionaryManager.cs
- RegexRunnerFactory.cs
- PeerMaintainer.cs
- LogStore.cs
- Point.cs
- PrinterUnitConvert.cs
- System.Data.OracleClient_BID.cs
- RichTextBoxConstants.cs
- EventPrivateKey.cs
- QuerySelectOp.cs
- XmlUnspecifiedAttribute.cs
- StyleBamlTreeBuilder.cs
- ConnectionStringsExpressionBuilder.cs
- AppDomainManager.cs
- StaticSiteMapProvider.cs
- NamespaceEmitter.cs
- LicenseProviderAttribute.cs
- SystemIcons.cs
- ValueChangedEventManager.cs
- DataTrigger.cs
- FontCacheUtil.cs
- OptimizedTemplateContent.cs
- DataGridViewDataConnection.cs
- DataBinding.cs
- PropertyIDSet.cs
- IsolatedStoragePermission.cs
- SelectionItemPatternIdentifiers.cs
- RichTextBox.cs
- NoneExcludedImageIndexConverter.cs
- TextServicesDisplayAttribute.cs
- AdCreatedEventArgs.cs
- XmlComment.cs
- OleDbMetaDataFactory.cs
- ProviderMetadataCachedInformation.cs
- XmlSchemaAnnotated.cs
- FixedSchema.cs
- BuildManager.cs
- CodeMemberEvent.cs
- HTMLTagNameToTypeMapper.cs
- DataDocumentXPathNavigator.cs
- ECDiffieHellmanPublicKey.cs
- Attributes.cs
- FocusChangedEventArgs.cs
- SqlBuilder.cs
- Button.cs
- EasingKeyFrames.cs
- RepeatBehavior.cs
- ElementAction.cs
- DesignerMetadata.cs
- RefType.cs
- ParameterCollection.cs
- RotateTransform3D.cs
- CompilerState.cs
- UIElementParagraph.cs
- Dump.cs
- MatrixTransform3D.cs
- VoiceSynthesis.cs
- Identifier.cs
- CmsInterop.cs
- ContentPropertyAttribute.cs
- UnsafeCollabNativeMethods.cs
- TemplateField.cs
- DbInsertCommandTree.cs
- Cell.cs
- DiagnosticTraceSource.cs
- SerializerDescriptor.cs
- CounterCreationData.cs
- FontUnit.cs
- UserControl.cs
- MenuScrollingVisibilityConverter.cs
- DynamicPropertyReader.cs
- MenuEventArgs.cs
- FloaterBaseParaClient.cs
- ComponentDispatcher.cs
- DefaultValueTypeConverter.cs
- SwitchLevelAttribute.cs
- BookmarkResumptionRecord.cs
- CodeTypeReferenceCollection.cs
- StreamResourceInfo.cs
- ExecutionProperties.cs