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
- TextEditorCopyPaste.cs
- DataRelationPropertyDescriptor.cs
- PropertyCollection.cs
- DependencyProperty.cs
- SchemaNames.cs
- OleDbInfoMessageEvent.cs
- PropertyConverter.cs
- MediaTimeline.cs
- KnownColorTable.cs
- ValueQuery.cs
- SettingsAttributes.cs
- MissingSatelliteAssemblyException.cs
- DesignerAttribute.cs
- TheQuery.cs
- AccessDataSourceWizardForm.cs
- DefaultProfileManager.cs
- ObjectKeyFrameCollection.cs
- DetailsViewActionList.cs
- SystemIPGlobalProperties.cs
- SignatureDescription.cs
- Point3DConverter.cs
- XmlStreamNodeWriter.cs
- WindowsListViewItem.cs
- HelpEvent.cs
- ModuleElement.cs
- ClientApiGenerator.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- SoapObjectReader.cs
- SelectedGridItemChangedEvent.cs
- DrawingBrush.cs
- HighlightComponent.cs
- bidPrivateBase.cs
- Profiler.cs
- RightsManagementInformation.cs
- XslAstAnalyzer.cs
- DbSetClause.cs
- Types.cs
- ClientFormsIdentity.cs
- WpfXamlLoader.cs
- XmlSchemaAny.cs
- CompilerGeneratedAttribute.cs
- GregorianCalendar.cs
- InternalCache.cs
- DiscreteKeyFrames.cs
- OleDbRowUpdatingEvent.cs
- SingleKeyFrameCollection.cs
- MonthCalendar.cs
- SecurityManager.cs
- StructuredProperty.cs
- Listen.cs
- WindowPattern.cs
- OuterGlowBitmapEffect.cs
- LogEntrySerializer.cs
- ProtocolsConfigurationEntry.cs
- WindowPattern.cs
- CheckBoxFlatAdapter.cs
- AutoResetEvent.cs
- ProfilePropertyNameValidator.cs
- ValueConversionAttribute.cs
- ResourceReferenceExpressionConverter.cs
- PingReply.cs
- SapiRecognizer.cs
- Stroke.cs
- PackageProperties.cs
- SmiContext.cs
- SafeJobHandle.cs
- TerminateDesigner.cs
- _NTAuthentication.cs
- SqlMethodAttribute.cs
- BamlStream.cs
- SynchronizationHandlesCodeDomSerializer.cs
- AuthenticatingEventArgs.cs
- DataColumnCollection.cs
- ConfigurationValue.cs
- UIElementCollection.cs
- NativeObjectSecurity.cs
- Stroke2.cs
- DecoderNLS.cs
- UInt16Converter.cs
- XmlSequenceWriter.cs
- ProfileServiceManager.cs
- XmlUtf8RawTextWriter.cs
- XmlElementAttribute.cs
- DecimalSumAggregationOperator.cs
- BitStack.cs
- DataGridrowEditEndingEventArgs.cs
- StyleModeStack.cs
- TreeNodeClickEventArgs.cs
- HashRepartitionStream.cs
- SqlAliaser.cs
- RenderContext.cs
- RowVisual.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- SimpleWebHandlerParser.cs
- Evidence.cs
- ObjectNavigationPropertyMapping.cs
- PointF.cs
- TempEnvironment.cs
- IconHelper.cs
- SafeMemoryMappedFileHandle.cs