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
- WebPartTransformerCollection.cs
- TabItem.cs
- GiveFeedbackEvent.cs
- RequestCacheManager.cs
- ListDictionary.cs
- SecurityUtils.cs
- ThreadPool.cs
- PkcsMisc.cs
- ExpressionBuilder.cs
- WindowShowOrOpenTracker.cs
- EllipseGeometry.cs
- ViewManager.cs
- TabControlAutomationPeer.cs
- ComboBox.cs
- XamlRtfConverter.cs
- UIElement3DAutomationPeer.cs
- DrawingAttributesDefaultValueFactory.cs
- TrackingServices.cs
- OLEDB_Util.cs
- DataGridViewMethods.cs
- XmlAttributeCollection.cs
- datacache.cs
- EntityDataSourceReferenceGroup.cs
- Part.cs
- TableLayoutPanel.cs
- DoubleCollection.cs
- TableItemProviderWrapper.cs
- odbcmetadatafactory.cs
- IncrementalCompileAnalyzer.cs
- PolyLineSegment.cs
- ComUdtElementCollection.cs
- StoreAnnotationsMap.cs
- ToolStripRenderEventArgs.cs
- HtmlTableRow.cs
- TraceHandlerErrorFormatter.cs
- TableAdapterManagerHelper.cs
- DependencyPropertyDescriptor.cs
- SystemResourceHost.cs
- GridViewRow.cs
- EmptyStringExpandableObjectConverter.cs
- D3DImage.cs
- TemplatePropertyEntry.cs
- SqlRetyper.cs
- BindableAttribute.cs
- QueuePathEditor.cs
- CollectionDataContractAttribute.cs
- DataGridViewImageColumn.cs
- ConversionContext.cs
- TriggerCollection.cs
- SizeKeyFrameCollection.cs
- ValueOfAction.cs
- LayoutManager.cs
- ListViewPagedDataSource.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- GridViewColumn.cs
- NativeMethods.cs
- WorkflowServiceHost.cs
- AlphabeticalEnumConverter.cs
- LinqMaximalSubtreeNominator.cs
- sqlpipe.cs
- connectionpool.cs
- TextServicesContext.cs
- XmlNamespaceMapping.cs
- Typeface.cs
- XmlSchemaExporter.cs
- SqlServices.cs
- XomlCompiler.cs
- FragmentNavigationEventArgs.cs
- CategoryGridEntry.cs
- SmiEventSink_Default.cs
- PartialList.cs
- ISAPIWorkerRequest.cs
- GridViewSelectEventArgs.cs
- RadioButton.cs
- ParsedAttributeCollection.cs
- DataObjectCopyingEventArgs.cs
- ConfigurationManagerInternalFactory.cs
- DetailsViewInsertedEventArgs.cs
- ManagedFilter.cs
- _SecureChannel.cs
- ReceiveActivityValidator.cs
- DefaultTraceListener.cs
- RelationshipDetailsCollection.cs
- LassoHelper.cs
- DispatcherOperation.cs
- DefaultPropertiesToSend.cs
- TimeZone.cs
- SAPICategories.cs
- RuntimeConfig.cs
- SQLDateTime.cs
- TransactionScope.cs
- WebPartRestoreVerb.cs
- WebPartZoneDesigner.cs
- InvalidComObjectException.cs
- UIElement3D.cs
- CompiledELinqQueryState.cs
- Visual.cs
- ParentQuery.cs
- Facet.cs
- Serializer.cs