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
- DataGridViewCell.cs
- DataGridViewControlCollection.cs
- ArrayExtension.cs
- SkinIDTypeConverter.cs
- ColorBlend.cs
- CompleteWizardStep.cs
- BulletedListEventArgs.cs
- RequestCachePolicy.cs
- EntityDataSourceView.cs
- ArraySortHelper.cs
- FolderBrowserDialog.cs
- XamlStyleSerializer.cs
- AttributedMetaModel.cs
- WindowsHyperlink.cs
- activationcontext.cs
- PocoEntityKeyStrategy.cs
- MatrixIndependentAnimationStorage.cs
- SingleConverter.cs
- FrugalMap.cs
- ExpressionVisitor.cs
- SafeSecurityHelper.cs
- _NegoStream.cs
- PositiveTimeSpanValidatorAttribute.cs
- CursorConverter.cs
- SecurityKeyIdentifierClause.cs
- PhysicalFontFamily.cs
- EnumValidator.cs
- MsmqInputMessage.cs
- Application.cs
- Rect3D.cs
- MD5CryptoServiceProvider.cs
- HttpListenerResponse.cs
- XmlSchemaObjectTable.cs
- Trigger.cs
- ToolStripDropDownDesigner.cs
- FieldAccessException.cs
- BindingUtils.cs
- PrinterSettings.cs
- ConfigurationSchemaErrors.cs
- SqlDuplicator.cs
- FunctionParameter.cs
- QuaternionAnimation.cs
- _ConnectOverlappedAsyncResult.cs
- AddInAttribute.cs
- AuthenticatedStream.cs
- EntitySqlQueryCacheEntry.cs
- FileEnumerator.cs
- arabicshape.cs
- ByteStreamMessageEncoderFactory.cs
- Sentence.cs
- TypeSystemHelpers.cs
- DiffuseMaterial.cs
- MonitoringDescriptionAttribute.cs
- DispatcherExceptionFilterEventArgs.cs
- DataSpaceManager.cs
- ByteAnimationUsingKeyFrames.cs
- InnerItemCollectionView.cs
- SecurityValidationBehavior.cs
- Inline.cs
- AuthenticatedStream.cs
- TdsParameterSetter.cs
- ValidatingPropertiesEventArgs.cs
- InvalidComObjectException.cs
- BinHexEncoder.cs
- IndependentlyAnimatedPropertyMetadata.cs
- IISMapPath.cs
- CodeGeneratorOptions.cs
- DataDocumentXPathNavigator.cs
- connectionpool.cs
- ErrorTableItemStyle.cs
- TableStyle.cs
- DefaultTraceListener.cs
- StringUtil.cs
- SamlDoNotCacheCondition.cs
- ToolStripContentPanelDesigner.cs
- CodeMemberProperty.cs
- NameValuePermission.cs
- ValidationRule.cs
- ErrorWrapper.cs
- X509ChainElement.cs
- StrokeRenderer.cs
- QilLoop.cs
- ListView.cs
- Solver.cs
- CodeMemberMethod.cs
- CharConverter.cs
- ProvidersHelper.cs
- DataConnectionHelper.cs
- MLangCodePageEncoding.cs
- ImageFormat.cs
- BinaryParser.cs
- ErrorsHelper.cs
- IndexerHelper.cs
- ColorTransformHelper.cs
- AutomationPatternInfo.cs
- SqlTriggerContext.cs
- _ListenerAsyncResult.cs
- Vector3DConverter.cs
- Button.cs
- EntityDataSourceStatementEditorForm.cs