Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewRowContextMenuStripNeededEventArgs.cs / 1 / DataGridViewRowContextMenuStripNeededEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewRowContextMenuStripNeededEventArgs : EventArgs { private int rowIndex; private ContextMenuStrip contextMenuStrip; /// public DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex) { if (rowIndex < -1) { throw new ArgumentOutOfRangeException("rowIndex"); } this.rowIndex = rowIndex; } internal DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex, ContextMenuStrip contextMenuStrip) : this(rowIndex) { this.contextMenuStrip = contextMenuStrip; } /// public int RowIndex { get { return this.rowIndex; } } /// public ContextMenuStrip ContextMenuStrip { get { return this.contextMenuStrip; } set { this.contextMenuStrip = value; } } } } // 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; ///public class DataGridViewRowContextMenuStripNeededEventArgs : EventArgs { private int rowIndex; private ContextMenuStrip contextMenuStrip; /// public DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex) { if (rowIndex < -1) { throw new ArgumentOutOfRangeException("rowIndex"); } this.rowIndex = rowIndex; } internal DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex, ContextMenuStrip contextMenuStrip) : this(rowIndex) { this.contextMenuStrip = contextMenuStrip; } /// public int RowIndex { get { return this.rowIndex; } } /// public ContextMenuStrip ContextMenuStrip { get { return this.contextMenuStrip; } set { this.contextMenuStrip = value; } } } } // 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
- WeakReferenceList.cs
- DbProviderFactory.cs
- DataPagerField.cs
- XPathNodeList.cs
- HttpCacheVaryByContentEncodings.cs
- WorkerRequest.cs
- OdbcConnectionPoolProviderInfo.cs
- MouseCaptureWithinProperty.cs
- ListViewInsertionMark.cs
- Site.cs
- XmlSchemaExporter.cs
- FontUnitConverter.cs
- XmlILAnnotation.cs
- DesignerAutoFormatStyle.cs
- DiscoveryMessageSequenceGenerator.cs
- DSACryptoServiceProvider.cs
- ListMarkerLine.cs
- ClientSideQueueItem.cs
- SafeReversePInvokeHandle.cs
- TypeSource.cs
- TextModifier.cs
- UnmanagedHandle.cs
- SchemaImporterExtension.cs
- DBConnectionString.cs
- FileLoadException.cs
- BindingValueChangedEventArgs.cs
- Comparer.cs
- ProxyHelper.cs
- VirtualPathUtility.cs
- GridEntryCollection.cs
- sqlstateclientmanager.cs
- DoubleLinkListEnumerator.cs
- ScriptResourceAttribute.cs
- TypeUtil.cs
- EntityProviderFactory.cs
- QuerySetOp.cs
- DeviceContexts.cs
- XPathSelectionIterator.cs
- _NegoState.cs
- BindingGroup.cs
- DbConnectionPoolIdentity.cs
- OutputCacheSettings.cs
- Sentence.cs
- ThreadInterruptedException.cs
- remotingproxy.cs
- SafeFindHandle.cs
- GroupBoxAutomationPeer.cs
- RtfToXamlReader.cs
- MulticastDelegate.cs
- Unit.cs
- WebPartConnectVerb.cs
- CompositeCollectionView.cs
- VectorConverter.cs
- ConnectionStringSettingsCollection.cs
- IItemProperties.cs
- File.cs
- XmlCDATASection.cs
- ContainerTracking.cs
- TableCellCollection.cs
- DelegatingTypeDescriptionProvider.cs
- DetailsViewUpdateEventArgs.cs
- OpenFileDialog.cs
- SimpleRecyclingCache.cs
- UnsafeNativeMethods.cs
- OutputScopeManager.cs
- UnsafeNativeMethods.cs
- RemotingConfiguration.cs
- InertiaTranslationBehavior.cs
- VisualTreeHelper.cs
- PasswordBox.cs
- DataException.cs
- FactoryMaker.cs
- SourceInterpreter.cs
- CompilerWrapper.cs
- ParseNumbers.cs
- DependencyProperty.cs
- BufferAllocator.cs
- ListViewGroupConverter.cs
- PackageRelationship.cs
- DependencyPropertyHelper.cs
- ContextMenu.cs
- CqlLexer.cs
- NotCondition.cs
- TextSpan.cs
- StorageComplexPropertyMapping.cs
- MaterialGroup.cs
- Exceptions.cs
- FormatterServices.cs
- SequentialOutput.cs
- XmlSchemaInclude.cs
- ToolStripContainerActionList.cs
- MetadataItemCollectionFactory.cs
- CryptographicAttribute.cs
- SqlBooleanizer.cs
- MediaScriptCommandRoutedEventArgs.cs
- mansign.cs
- PLINQETWProvider.cs
- ReferentialConstraint.cs
- DES.cs
- DoubleStorage.cs