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
- NestedContainer.cs
- SQLDecimal.cs
- ScrollProviderWrapper.cs
- Utils.cs
- HttpApplicationStateWrapper.cs
- Mapping.cs
- SystemUnicastIPAddressInformation.cs
- Expression.cs
- DuplicateWaitObjectException.cs
- MergeFilterQuery.cs
- VisualTarget.cs
- ProgressBarHighlightConverter.cs
- SplitterCancelEvent.cs
- TemplateApplicationHelper.cs
- NavigationWindow.cs
- SimpleApplicationHost.cs
- Events.cs
- DispatcherExceptionFilterEventArgs.cs
- SqlCaseSimplifier.cs
- ArrayExtension.cs
- FrameworkContentElement.cs
- CacheMode.cs
- AssemblyCollection.cs
- SettingsProviderCollection.cs
- TreeBuilderBamlTranslator.cs
- LinkUtilities.cs
- SetterBase.cs
- DiscoveryServerProtocol.cs
- TypeKeyValue.cs
- SelectedDatesCollection.cs
- AutomationElementIdentifiers.cs
- Matrix3DValueSerializer.cs
- OrderPreservingMergeHelper.cs
- ApplyTemplatesAction.cs
- LocalizableAttribute.cs
- DataGridRow.cs
- Socket.cs
- EventDescriptor.cs
- FixedSOMPage.cs
- OdbcErrorCollection.cs
- TogglePatternIdentifiers.cs
- Compiler.cs
- XmlWrappingReader.cs
- DataStorage.cs
- RoutedPropertyChangedEventArgs.cs
- VisualProxy.cs
- DropDownList.cs
- DefaultBindingPropertyAttribute.cs
- SecurityUniqueId.cs
- Visual.cs
- SecurityContextSecurityTokenAuthenticator.cs
- ColorKeyFrameCollection.cs
- FragmentNavigationEventArgs.cs
- SQLSingleStorage.cs
- OleAutBinder.cs
- SharedPerformanceCounter.cs
- ThousandthOfEmRealPoints.cs
- GifBitmapDecoder.cs
- EventArgs.cs
- CertificateReferenceElement.cs
- FixedSOMContainer.cs
- SqlDataSourceConnectionPanel.cs
- TextEditorTyping.cs
- GenericPrincipal.cs
- ActivityDesignerLayoutSerializers.cs
- WebSysDescriptionAttribute.cs
- SettingsPropertyNotFoundException.cs
- PrePostDescendentsWalker.cs
- OutputCacheModule.cs
- Attributes.cs
- embossbitmapeffect.cs
- AtomServiceDocumentSerializer.cs
- PathBox.cs
- DefaultHttpHandler.cs
- InvalidOperationException.cs
- UiaCoreProviderApi.cs
- LocatorGroup.cs
- TimelineGroup.cs
- Int32Rect.cs
- QilStrConcatenator.cs
- ConfigXmlSignificantWhitespace.cs
- ContentDesigner.cs
- TypeBinaryExpression.cs
- RuleSettings.cs
- AppDomainUnloadedException.cs
- RoleProviderPrincipal.cs
- XmlText.cs
- WrapPanel.cs
- CountAggregationOperator.cs
- SafeThemeHandle.cs
- InternalEnumValidatorAttribute.cs
- SQLRoleProvider.cs
- RowToParametersTransformer.cs
- TimelineClockCollection.cs
- DefaultValueTypeConverter.cs
- ScriptMethodAttribute.cs
- GcSettings.cs
- Italic.cs
- SlipBehavior.cs
- Polygon.cs