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
- DbException.cs
- DBConcurrencyException.cs
- Calendar.cs
- PackUriHelper.cs
- DynamicRenderer.cs
- WebPartsSection.cs
- WriteLine.cs
- PagePropertiesChangingEventArgs.cs
- BooleanFunctions.cs
- ListBoxItemWrapperAutomationPeer.cs
- StringArrayConverter.cs
- TreeChangeInfo.cs
- ProxyWebPartManager.cs
- OleDbMetaDataFactory.cs
- SiteMap.cs
- ContextMenuStripActionList.cs
- ButtonChrome.cs
- _BaseOverlappedAsyncResult.cs
- PropertyValueUIItem.cs
- SHA512.cs
- HMACSHA1.cs
- CountdownEvent.cs
- LocationSectionRecord.cs
- MatchAttribute.cs
- HtmlInputControl.cs
- TextBoxAutomationPeer.cs
- DataTableMappingCollection.cs
- Operand.cs
- CodeFieldReferenceExpression.cs
- StateMachineWorkflow.cs
- ZipIOFileItemStream.cs
- PropertyDescriptorCollection.cs
- XsltOutput.cs
- DataViewManagerListItemTypeDescriptor.cs
- DynamicMethod.cs
- DecimalConverter.cs
- XamlReaderHelper.cs
- BrushMappingModeValidation.cs
- BevelBitmapEffect.cs
- SafeHandle.cs
- Authorization.cs
- InputBindingCollection.cs
- OraclePermission.cs
- Directory.cs
- util.cs
- TypeValidationEventArgs.cs
- CDSsyncETWBCLProvider.cs
- InvalidOperationException.cs
- XmlMembersMapping.cs
- SystemColors.cs
- SystemKeyConverter.cs
- HttpCapabilitiesSectionHandler.cs
- XmlWellformedWriter.cs
- SamlAuthorizationDecisionStatement.cs
- BamlLocalizationDictionary.cs
- NonDualMessageSecurityOverHttpElement.cs
- ScrollEventArgs.cs
- ReadingWritingEntityEventArgs.cs
- DefaultPropertyAttribute.cs
- ChooseAction.cs
- XmlSerializerNamespaces.cs
- PrinterUnitConvert.cs
- ConfigXmlElement.cs
- prompt.cs
- TryLoadRunnableWorkflowCommand.cs
- ComboBox.cs
- GenericUriParser.cs
- PriorityQueue.cs
- XmlCompatibilityReader.cs
- ProcessingInstructionAction.cs
- RuleSettings.cs
- FieldMetadata.cs
- Pen.cs
- TextElementCollection.cs
- SafeIUnknown.cs
- PhonemeConverter.cs
- embossbitmapeffect.cs
- WebServiceTypeData.cs
- WebPageTraceListener.cs
- ContextProperty.cs
- _NestedSingleAsyncResult.cs
- DoWorkEventArgs.cs
- TypeConverterValueSerializer.cs
- MethodBuilder.cs
- CompositionAdorner.cs
- DurationConverter.cs
- ResourcesBuildProvider.cs
- ParentQuery.cs
- TransactionCache.cs
- ExceptionTrace.cs
- StringComparer.cs
- X509RawDataKeyIdentifierClause.cs
- XmlQueryStaticData.cs
- VirtualizingStackPanel.cs
- XmlWriterTraceListener.cs
- SizeConverter.cs
- XomlCompilerHelpers.cs
- SQLBoolean.cs
- XmlTextReader.cs
- XmlSchemaSubstitutionGroup.cs