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
- ObfuscationAttribute.cs
- Figure.cs
- DbCommandTree.cs
- IdnElement.cs
- HostingEnvironmentSection.cs
- ObjectViewListener.cs
- EventLogPermissionAttribute.cs
- Stream.cs
- DBConnectionString.cs
- ItemMap.cs
- followingquery.cs
- CodeValidator.cs
- RayHitTestParameters.cs
- TimeoutValidationAttribute.cs
- UserNameServiceElement.cs
- ActivityDesigner.cs
- DataGridViewLayoutData.cs
- Table.cs
- DataGridColumn.cs
- MaskedTextBox.cs
- EntityContainerAssociationSet.cs
- SmiGettersStream.cs
- _ContextAwareResult.cs
- XmlBindingWorker.cs
- COM2IPerPropertyBrowsingHandler.cs
- HttpListenerPrefixCollection.cs
- ThreadAttributes.cs
- ScrollEventArgs.cs
- IPAddressCollection.cs
- RandomNumberGenerator.cs
- ToolStripDropDown.cs
- ResXResourceReader.cs
- ActivityDesignerLayoutSerializers.cs
- GridLength.cs
- ConnectionManagementSection.cs
- InstanceCreationEditor.cs
- StylusOverProperty.cs
- BinaryUtilClasses.cs
- CharacterMetrics.cs
- safelink.cs
- CaseExpr.cs
- Encoding.cs
- CharUnicodeInfo.cs
- ListControlConvertEventArgs.cs
- CaseInsensitiveComparer.cs
- UserControl.cs
- DesignTimeVisibleAttribute.cs
- SectionVisual.cs
- RefreshPropertiesAttribute.cs
- WebServiceClientProxyGenerator.cs
- UInt32.cs
- QuaternionRotation3D.cs
- XmlChoiceIdentifierAttribute.cs
- StorageEntityTypeMapping.cs
- Line.cs
- SimpleFieldTemplateFactory.cs
- ByteAnimationBase.cs
- WindowsFormsDesignerOptionService.cs
- CheckBox.cs
- GridViewSortEventArgs.cs
- CodeDomConfigurationHandler.cs
- TemplateBuilder.cs
- ObjectViewQueryResultData.cs
- XMLDiffLoader.cs
- Task.cs
- InitialServerConnectionReader.cs
- VisualTreeUtils.cs
- MetaModel.cs
- srgsitem.cs
- SymmetricKeyWrap.cs
- Environment.cs
- CommonDialog.cs
- DBSqlParserTable.cs
- GroupBoxAutomationPeer.cs
- ParserContext.cs
- RuntimeDelegateArgument.cs
- RawStylusSystemGestureInputReport.cs
- PrePostDescendentsWalker.cs
- DesignerLabelAdapter.cs
- VisualStyleInformation.cs
- DataDocumentXPathNavigator.cs
- TypeUtils.cs
- WindowsFont.cs
- UIHelper.cs
- RegexBoyerMoore.cs
- DataPager.cs
- DataTemplateKey.cs
- LoginNameDesigner.cs
- UIHelper.cs
- CustomAttributeSerializer.cs
- MessagePropertyVariants.cs
- Utils.cs
- MemberMaps.cs
- DbParameterCollection.cs
- MeshGeometry3D.cs
- GeneralTransform2DTo3DTo2D.cs
- AsyncDataRequest.cs
- GridProviderWrapper.cs
- Thickness.cs
- TabPanel.cs