Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XmlReader.cs
- ListControlBoundActionList.cs
- TextTreeInsertUndoUnit.cs
- Size.cs
- VariableDesigner.xaml.cs
- ActivityLocationReferenceEnvironment.cs
- CodeIdentifiers.cs
- ResourceDictionaryCollection.cs
- SmtpSection.cs
- SchemaNotation.cs
- WorkflowInlining.cs
- TcpStreams.cs
- BamlLocalizationDictionary.cs
- MeasurementDCInfo.cs
- SubpageParagraph.cs
- MemberInfoSerializationHolder.cs
- Hashtable.cs
- XmlUtil.cs
- AttachInfo.cs
- MachineKeyConverter.cs
- DecimalAnimation.cs
- ContentFileHelper.cs
- PropertyValueUIItem.cs
- ExtensionQuery.cs
- NameTable.cs
- CapabilitiesPattern.cs
- Point3DAnimation.cs
- SQLBinary.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DataGridCaption.cs
- UndirectedGraph.cs
- IList.cs
- EditorAttribute.cs
- TextClipboardData.cs
- SqlProvider.cs
- WebPartDescription.cs
- TextBreakpoint.cs
- PreviewKeyDownEventArgs.cs
- ImageListStreamer.cs
- NonSerializedAttribute.cs
- AmbientProperties.cs
- Tool.cs
- RSAPKCS1SignatureFormatter.cs
- UriSectionData.cs
- EditorAttribute.cs
- FlagsAttribute.cs
- COAUTHIDENTITY.cs
- MonthCalendar.cs
- HotSpotCollectionEditor.cs
- PropertyConverter.cs
- XsdBuildProvider.cs
- UrlPath.cs
- DataRelation.cs
- PatternMatchRules.cs
- ImportedNamespaceContextItem.cs
- ToolStripSplitButton.cs
- StreamReader.cs
- SoapObjectInfo.cs
- ZipIOCentralDirectoryBlock.cs
- BmpBitmapEncoder.cs
- SupportingTokenListenerFactory.cs
- Point3DCollectionConverter.cs
- BoundsDrawingContextWalker.cs
- XmlProcessingInstruction.cs
- EnglishPluralizationService.cs
- Repeater.cs
- CachedBitmap.cs
- XmlDictionary.cs
- sortedlist.cs
- HttpListenerTimeoutManager.cs
- VScrollBar.cs
- X509RawDataKeyIdentifierClause.cs
- ActivityExecutor.cs
- Duration.cs
- HttpModulesSection.cs
- ControlEvent.cs
- Funcletizer.cs
- Calendar.cs
- TextHidden.cs
- CompilerGeneratedAttribute.cs
- StateInitialization.cs
- FormsAuthenticationUser.cs
- TraceData.cs
- Vector3DIndependentAnimationStorage.cs
- SchemaInfo.cs
- XmlEventCache.cs
- BuilderPropertyEntry.cs
- SafeNativeMethodsOther.cs
- ScalarConstant.cs
- DebugController.cs
- BCLDebug.cs
- x509store.cs
- RangeValuePatternIdentifiers.cs
- StatusBar.cs
- StylusPlugInCollection.cs
- ButtonRenderer.cs
- EditorZoneBase.cs
- Win32Exception.cs
- RangeContentEnumerator.cs
- TypeUtil.cs