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
- XmlElementList.cs
- WriteFileContext.cs
- XPathItem.cs
- InputLanguageEventArgs.cs
- VectorCollectionConverter.cs
- TemplatePropertyEntry.cs
- Hex.cs
- Int16AnimationUsingKeyFrames.cs
- DeferredElementTreeState.cs
- Event.cs
- TableItemPattern.cs
- Registration.cs
- AppDomainAttributes.cs
- TextEditorParagraphs.cs
- HttpStreamMessageEncoderFactory.cs
- ObjectToken.cs
- TemplateInstanceAttribute.cs
- ServiceInfo.cs
- CustomPeerResolverService.cs
- ReflectionHelper.cs
- TraceListeners.cs
- PeerNameRecordCollection.cs
- PropertyMapper.cs
- SocketAddress.cs
- InteropExecutor.cs
- X500Name.cs
- XmlPreloadedResolver.cs
- ConfigXmlSignificantWhitespace.cs
- InlineCollection.cs
- TableAutomationPeer.cs
- SecurityImpersonationBehavior.cs
- AsyncPostBackTrigger.cs
- Graphics.cs
- UriExt.cs
- NestPullup.cs
- PackageStore.cs
- AnnotationAuthorChangedEventArgs.cs
- ScrollableControl.cs
- DataColumnMapping.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- GrammarBuilderBase.cs
- DesignTimeParseData.cs
- DataTableExtensions.cs
- VisualStyleRenderer.cs
- SelectionChangedEventArgs.cs
- SoapDocumentServiceAttribute.cs
- FileLogRecordEnumerator.cs
- RawStylusActions.cs
- Quaternion.cs
- FilterQuery.cs
- EventSourceCreationData.cs
- XPathBuilder.cs
- FocusManager.cs
- XmlSortKeyAccumulator.cs
- ConnectionManagementSection.cs
- BulletedListEventArgs.cs
- AdCreatedEventArgs.cs
- AutomationPatternInfo.cs
- _NestedMultipleAsyncResult.cs
- SocketAddress.cs
- NavigatingCancelEventArgs.cs
- COM2TypeInfoProcessor.cs
- UrlMapping.cs
- DescendantBaseQuery.cs
- _WinHttpWebProxyDataBuilder.cs
- HttpDictionary.cs
- SqlConnection.cs
- StreamReader.cs
- FormsAuthentication.cs
- PlacementWorkspace.cs
- ControlParameter.cs
- CommonRemoteMemoryBlock.cs
- wgx_exports.cs
- MatrixKeyFrameCollection.cs
- SqlCharStream.cs
- SpellCheck.cs
- EncryptedPackageFilter.cs
- CodeSnippetCompileUnit.cs
- ObsoleteAttribute.cs
- Assert.cs
- AppDomainCompilerProxy.cs
- HttpListenerException.cs
- ToolStripPanelSelectionGlyph.cs
- DesignerHelpers.cs
- ProgressBar.cs
- BaseDataListActionList.cs
- OuterGlowBitmapEffect.cs
- TTSEngineProxy.cs
- FacetEnabledSchemaElement.cs
- StreamGeometry.cs
- IgnorePropertiesAttribute.cs
- AffineTransform3D.cs
- SchemaCreator.cs
- DataGridViewTopRowAccessibleObject.cs
- PermissionToken.cs
- XamlTemplateSerializer.cs
- StylusSystemGestureEventArgs.cs
- lengthconverter.cs
- Setter.cs
- TextAdaptor.cs