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
- RepeaterItem.cs
- PeerNameRecordCollection.cs
- ResourceReferenceExpressionConverter.cs
- TextBoxBase.cs
- Stroke2.cs
- GreaterThanOrEqual.cs
- CodeDomSerializer.cs
- IResourceProvider.cs
- CustomAttributeBuilder.cs
- Cursor.cs
- FixedSOMSemanticBox.cs
- HtmlInputReset.cs
- LambdaReference.cs
- ObjectSecurity.cs
- RuntimeCompatibilityAttribute.cs
- StatusBarItemAutomationPeer.cs
- StylesEditorDialog.cs
- ListView.cs
- PersonalizationAdministration.cs
- activationcontext.cs
- _SingleItemRequestCache.cs
- ParameterCollection.cs
- formatstringdialog.cs
- SecurityException.cs
- LayoutDump.cs
- RectangleGeometry.cs
- Size3DConverter.cs
- HtmlInputHidden.cs
- Repeater.cs
- CatalogUtil.cs
- GPPOINTF.cs
- ContainerUtilities.cs
- ConstrainedDataObject.cs
- BaseHashHelper.cs
- MessageHeaderT.cs
- MultipleViewProviderWrapper.cs
- datacache.cs
- SecondaryIndexDefinition.cs
- DataGridViewLinkCell.cs
- FileDialogCustomPlacesCollection.cs
- RSAOAEPKeyExchangeFormatter.cs
- IRCollection.cs
- StylusButton.cs
- XamlToRtfWriter.cs
- BitmapDecoder.cs
- MetadataArtifactLoaderCompositeResource.cs
- CodeNamespaceImportCollection.cs
- InputLanguageSource.cs
- AutoCompleteStringCollection.cs
- FileDataSourceCache.cs
- FillErrorEventArgs.cs
- WSFederationHttpSecurity.cs
- ListBindableAttribute.cs
- Speller.cs
- AnimationLayer.cs
- BrowserCapabilitiesCompiler.cs
- InfoCardAsymmetricCrypto.cs
- MergeLocalizationDirectives.cs
- BaseHashHelper.cs
- DataKeyCollection.cs
- TextDocumentView.cs
- IisTraceListener.cs
- HttpRequest.cs
- StrongNameUtility.cs
- Touch.cs
- BaseTreeIterator.cs
- ToolTipService.cs
- DataControlCommands.cs
- ToolCreatedEventArgs.cs
- _emptywebproxy.cs
- _NestedMultipleAsyncResult.cs
- EntityContainerEmitter.cs
- GridViewColumn.cs
- CaseStatement.cs
- MobileControlsSectionHandler.cs
- TabItemWrapperAutomationPeer.cs
- EnumerableCollectionView.cs
- ContentPlaceHolder.cs
- TabItem.cs
- DataViewManager.cs
- DBSqlParserColumnCollection.cs
- XmlSigningNodeWriter.cs
- ConnectionPointCookie.cs
- LinearQuaternionKeyFrame.cs
- ErrorWebPart.cs
- XmlNodeComparer.cs
- CustomAttributeBuilder.cs
- Win32Exception.cs
- StyleSheetRefUrlEditor.cs
- SamlAuthenticationStatement.cs
- AsymmetricKeyExchangeDeformatter.cs
- EmptyReadOnlyDictionaryInternal.cs
- FileSystemWatcher.cs
- RSAOAEPKeyExchangeDeformatter.cs
- FixedTextSelectionProcessor.cs
- ItemCheckedEvent.cs
- Debug.cs
- Profiler.cs
- ScrollChrome.cs
- ToolboxComponentsCreatingEventArgs.cs