Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewRowsRemovedEventArgs.cs / 1305376 / 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
- BamlTreeUpdater.cs
- SimpleModelProvider.cs
- CellTreeSimplifier.cs
- StyleSheetDesigner.cs
- AuthenticationSection.cs
- CompareInfo.cs
- Publisher.cs
- DeobfuscatingStream.cs
- BrowserCapabilitiesFactory.cs
- WasAdminWrapper.cs
- ConnectionManagementElementCollection.cs
- ToolstripProfessionalRenderer.cs
- ConfigurationSchemaErrors.cs
- GenericPrincipal.cs
- CodeDirectiveCollection.cs
- XmlJsonWriter.cs
- BitmapEffectDrawingContent.cs
- CancellationTokenRegistration.cs
- XmlNotation.cs
- XmlQualifiedName.cs
- StringValueSerializer.cs
- ADMembershipProvider.cs
- DnsPermission.cs
- WebPartTransformerAttribute.cs
- TimelineGroup.cs
- ExceptionUtil.cs
- CompositeFontInfo.cs
- GridLength.cs
- FrameworkReadOnlyPropertyMetadata.cs
- CrossAppDomainChannel.cs
- DataTableCollection.cs
- ImageSourceConverter.cs
- CngProvider.cs
- AdornerHitTestResult.cs
- StyleCollection.cs
- SqlComparer.cs
- ParserStreamGeometryContext.cs
- ResourceIDHelper.cs
- InheritedPropertyDescriptor.cs
- WebConvert.cs
- UIElement3D.cs
- WorkflowRequestContext.cs
- SimpleApplicationHost.cs
- GeneralTransform3DGroup.cs
- ColumnResult.cs
- ValidationRule.cs
- BooleanStorage.cs
- NodeFunctions.cs
- SequenceDesigner.cs
- PlatformNotSupportedException.cs
- BaseAsyncResult.cs
- ColumnProvider.cs
- TransformerInfoCollection.cs
- OrderedDictionaryStateHelper.cs
- BamlTreeUpdater.cs
- Dynamic.cs
- HtmlElementErrorEventArgs.cs
- TextEffect.cs
- ProcessModelSection.cs
- SymbolMethod.cs
- ParameterInfo.cs
- PrintDialog.cs
- AnnotationStore.cs
- AuthenticationModulesSection.cs
- StorageMappingItemLoader.cs
- Constraint.cs
- ImageButton.cs
- UserNameServiceElement.cs
- ReflectPropertyDescriptor.cs
- TeredoHelper.cs
- SelfIssuedTokenFactoryCredential.cs
- QilChoice.cs
- DrawingContextWalker.cs
- URI.cs
- SystemUdpStatistics.cs
- ConfigXmlCDataSection.cs
- TraceSource.cs
- Choices.cs
- ZoneIdentityPermission.cs
- ObjectListCommandCollection.cs
- DesignerAttribute.cs
- DrawingContextDrawingContextWalker.cs
- DBSchemaTable.cs
- MenuTracker.cs
- PointCollectionConverter.cs
- SymLanguageVendor.cs
- AdornerHitTestResult.cs
- ClientSideProviderDescription.cs
- ObjectHelper.cs
- DocumentViewerBase.cs
- SqlCachedBuffer.cs
- InkCanvasSelectionAdorner.cs
- ToolStripComboBox.cs
- List.cs
- IncrementalCompileAnalyzer.cs
- PageContent.cs
- HyperLink.cs
- NestedContainer.cs
- BitmapEffectInputConnector.cs