Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewRowContextMenuStripNeededEventArgs.cs / 1305376 / 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
- TcpServerChannel.cs
- Registry.cs
- DropShadowBitmapEffect.cs
- MenuItemBinding.cs
- COM2Properties.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- Roles.cs
- ModelItemDictionaryImpl.cs
- ErrorCodes.cs
- RouteParameter.cs
- HtmlInputRadioButton.cs
- Debug.cs
- RoleService.cs
- EmptyStringExpandableObjectConverter.cs
- TreeNodeConverter.cs
- TextEvent.cs
- SynchronizedPool.cs
- TextBlock.cs
- DataRowChangeEvent.cs
- Keywords.cs
- FixedLineResult.cs
- SspiHelper.cs
- TemplateControlCodeDomTreeGenerator.cs
- ToolboxBitmapAttribute.cs
- PrimitiveDataContract.cs
- ClassDataContract.cs
- CompoundFileIOPermission.cs
- FrameAutomationPeer.cs
- Utilities.cs
- BamlLocalizableResourceKey.cs
- FillRuleValidation.cs
- TextElement.cs
- ServiceModelConfigurationElementCollection.cs
- DesignerTextWriter.cs
- Attributes.cs
- ColumnMapVisitor.cs
- ProfileEventArgs.cs
- ViewSimplifier.cs
- ByteArrayHelperWithString.cs
- ArcSegment.cs
- RangeValuePattern.cs
- RotateTransform.cs
- XmlWriterSettings.cs
- BitmapEffectDrawingContextWalker.cs
- RegexFCD.cs
- TrustManagerMoreInformation.cs
- DataSpaceManager.cs
- safePerfProviderHandle.cs
- handlecollector.cs
- XmlComplianceUtil.cs
- EllipseGeometry.cs
- ApplicationException.cs
- BackgroundFormatInfo.cs
- OleDbReferenceCollection.cs
- TypeSystem.cs
- MissingFieldException.cs
- RectangleGeometry.cs
- DataSetMappper.cs
- ClientConfigurationHost.cs
- Enumerable.cs
- SrgsElementFactory.cs
- ArrayMergeHelper.cs
- BinaryParser.cs
- EmissiveMaterial.cs
- SqlGenericUtil.cs
- NetStream.cs
- ArgumentNullException.cs
- TypeGenericEnumerableViewSchema.cs
- WindowsUpDown.cs
- EntityProviderFactory.cs
- Input.cs
- RSAOAEPKeyExchangeFormatter.cs
- HtmlInputImage.cs
- TextHidden.cs
- DigestComparer.cs
- TextSerializer.cs
- TextTreeInsertElementUndoUnit.cs
- RadioButtonAutomationPeer.cs
- SchemaComplexType.cs
- XPathException.cs
- CryptoKeySecurity.cs
- MappingItemCollection.cs
- XmlUtf8RawTextWriter.cs
- PolyLineSegment.cs
- DurableOperationAttribute.cs
- UIPermission.cs
- bindurihelper.cs
- SHA256Managed.cs
- SystemIdentity.cs
- Resources.Designer.cs
- CurrentTimeZone.cs
- FragmentQuery.cs
- WebServiceTypeData.cs
- BuildProvidersCompiler.cs
- Command.cs
- RegexInterpreter.cs
- NullToBooleanConverter.cs
- ThreadStartException.cs
- CodeTypeDeclarationCollection.cs
- CanExecuteRoutedEventArgs.cs