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
- CellIdBoolean.cs
- PerfCounters.cs
- XmlAtomicValue.cs
- PerformanceCounterLib.cs
- DataListCommandEventArgs.cs
- ViewStateChangedEventArgs.cs
- brushes.cs
- EntityDataSourceEntityTypeFilterItem.cs
- SQLInt16Storage.cs
- StorageEntityTypeMapping.cs
- TrackBar.cs
- WorkflowViewStateService.cs
- SectionInput.cs
- OutputScopeManager.cs
- UnmanagedBitmapWrapper.cs
- SmtpNtlmAuthenticationModule.cs
- VBIdentifierName.cs
- SqlDataSourceCommandEventArgs.cs
- XmlDataLoader.cs
- TypedElement.cs
- FunctionDefinition.cs
- SyndicationPerson.cs
- HebrewNumber.cs
- SelectionItemProviderWrapper.cs
- NotifyParentPropertyAttribute.cs
- CodeTypeDeclarationCollection.cs
- XmlDataLoader.cs
- CachedBitmap.cs
- XmlSchemaComplexContentExtension.cs
- RtType.cs
- ResourceReferenceKeyNotFoundException.cs
- UseManagedPresentationBindingElementImporter.cs
- ScopelessEnumAttribute.cs
- Int32Storage.cs
- EditorAttribute.cs
- AddressAlreadyInUseException.cs
- PointAnimationUsingKeyFrames.cs
- DispatcherExceptionEventArgs.cs
- AmbiguousMatchException.cs
- XmlSerializationReader.cs
- Int32CollectionConverter.cs
- PublisherIdentityPermission.cs
- InputScopeConverter.cs
- XmlArrayItemAttribute.cs
- BuildDependencySet.cs
- FacetEnabledSchemaElement.cs
- EdmToObjectNamespaceMap.cs
- ReaderWriterLockWrapper.cs
- ListDictionaryInternal.cs
- StdValidatorsAndConverters.cs
- PerformanceCounterPermission.cs
- CorrelationManager.cs
- CrossContextChannel.cs
- DocumentViewerBaseAutomationPeer.cs
- MultipleViewProviderWrapper.cs
- FacetDescriptionElement.cs
- ArraySortHelper.cs
- HtmlTable.cs
- DependencyPropertyAttribute.cs
- MemoryMappedViewAccessor.cs
- ToolboxItemCollection.cs
- AnnotationComponentManager.cs
- SrgsRule.cs
- PeerResolver.cs
- SourceItem.cs
- TdsRecordBufferSetter.cs
- SingleKeyFrameCollection.cs
- ColumnWidthChangingEvent.cs
- ComplexTypeEmitter.cs
- StylusShape.cs
- ResourceManager.cs
- IList.cs
- UpdatePanel.cs
- XamlSerializerUtil.cs
- StylusPlugin.cs
- MessageSecurityException.cs
- BaseParser.cs
- Version.cs
- OleDbDataAdapter.cs
- FileDialogPermission.cs
- MemberInfoSerializationHolder.cs
- DefaultSerializationProviderAttribute.cs
- EntityContainer.cs
- ProxyAttribute.cs
- KeyManager.cs
- TypeConvertions.cs
- TraceContext.cs
- DataSpaceManager.cs
- CaretElement.cs
- SystemParameters.cs
- HttpFileCollectionBase.cs
- GPRECT.cs
- ScriptComponentDescriptor.cs
- TransactionsSectionGroup.cs
- FieldMetadata.cs
- CharKeyFrameCollection.cs
- Block.cs
- HttpBrowserCapabilitiesBase.cs
- SqlClientFactory.cs
- XMLUtil.cs