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
- SemaphoreSecurity.cs
- DiscoveryDocumentLinksPattern.cs
- HighContrastHelper.cs
- xmlfixedPageInfo.cs
- unitconverter.cs
- MultiTouchSystemGestureLogic.cs
- BulletedListEventArgs.cs
- MinimizableAttributeTypeConverter.cs
- SelectionItemProviderWrapper.cs
- ExpiredSecurityTokenException.cs
- ServiceSecurityContext.cs
- MulticastOption.cs
- CacheOutputQuery.cs
- Int32AnimationUsingKeyFrames.cs
- TreeNodeConverter.cs
- GeneralTransform3D.cs
- MultipartContentParser.cs
- X509Certificate.cs
- OracleConnectionString.cs
- MemberAccessException.cs
- NotSupportedException.cs
- IPipelineRuntime.cs
- HttpListenerPrefixCollection.cs
- ButtonBaseAdapter.cs
- WebMessageFormatHelper.cs
- XamlTreeBuilderBamlRecordWriter.cs
- InputLangChangeEvent.cs
- BooleanExpr.cs
- Task.cs
- MasterPageCodeDomTreeGenerator.cs
- ApplicationSettingsBase.cs
- CodeMethodReturnStatement.cs
- ProxyWebPart.cs
- TransformedBitmap.cs
- WebPartDisplayMode.cs
- CallTemplateAction.cs
- Trace.cs
- DynamicUpdateCommand.cs
- RowsCopiedEventArgs.cs
- ToolStripPanel.cs
- contentDescriptor.cs
- _SafeNetHandles.cs
- SqlPersonalizationProvider.cs
- WebPartMenuStyle.cs
- TypeRestriction.cs
- Inline.cs
- CellPartitioner.cs
- StartUpEventArgs.cs
- Events.cs
- ToolStripKeyboardHandlingService.cs
- ErrorHandler.cs
- ListenerUnsafeNativeMethods.cs
- WindowsListViewGroupSubsetLink.cs
- __FastResourceComparer.cs
- SHA1CryptoServiceProvider.cs
- Debugger.cs
- FactoryGenerator.cs
- RootBrowserWindowAutomationPeer.cs
- ValidationErrorCollection.cs
- DependencyObject.cs
- RtfFormatStack.cs
- CqlParserHelpers.cs
- EncoderParameters.cs
- CommandSet.cs
- ProfessionalColors.cs
- HostingEnvironment.cs
- AsyncStreamReader.cs
- RecordConverter.cs
- XmlDomTextWriter.cs
- SerializationException.cs
- QilIterator.cs
- IdentifierService.cs
- WinFormsSecurity.cs
- ProcessModelInfo.cs
- EntityCommandDefinition.cs
- ExecutionContext.cs
- SessionStateModule.cs
- XmlNodeComparer.cs
- DataControlLinkButton.cs
- DataGridLinkButton.cs
- IPipelineRuntime.cs
- WebPartZoneCollection.cs
- MaterializeFromAtom.cs
- WebResourceAttribute.cs
- SiteMapHierarchicalDataSourceView.cs
- SqlDataSourceConfigureFilterForm.cs
- CodeDelegateInvokeExpression.cs
- Nullable.cs
- SwitchAttribute.cs
- XmlObjectSerializerReadContextComplex.cs
- Typeface.cs
- FilteredXmlReader.cs
- TextCollapsingProperties.cs
- UrlMappingsSection.cs
- ThreadExceptionEvent.cs
- SystemResourceHost.cs
- FlowLayoutSettings.cs
- DbDataRecord.cs
- NetPeerTcpBinding.cs
- StringFormat.cs