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
- DesignBinding.cs
- ConnectionPoolManager.cs
- IriParsingElement.cs
- SchemaNames.cs
- NetworkStream.cs
- AdRotatorDesigner.cs
- Matrix3D.cs
- PinnedBufferMemoryStream.cs
- HorizontalAlignConverter.cs
- OracleDataReader.cs
- TextBlock.cs
- RemoteWebConfigurationHost.cs
- AnnotationAdorner.cs
- Clipboard.cs
- SchemaType.cs
- FixedSOMTableRow.cs
- DtdParser.cs
- EntityContainer.cs
- StringConverter.cs
- Quack.cs
- SystemIPv6InterfaceProperties.cs
- SegmentInfo.cs
- CryptoApi.cs
- EventSinkActivity.cs
- SharedStatics.cs
- PeerReferralPolicy.cs
- PropertyFilterAttribute.cs
- TextBox.cs
- PageThemeParser.cs
- CachedCompositeFamily.cs
- SecondaryViewProvider.cs
- DataRecord.cs
- CompilationRelaxations.cs
- ScrollItemPatternIdentifiers.cs
- Accessors.cs
- DesignerAttributeInfo.cs
- ProvidersHelper.cs
- SupportingTokenChannel.cs
- WebPartAuthorizationEventArgs.cs
- SystemIPInterfaceProperties.cs
- RangeValuePattern.cs
- DataGridViewCellStyle.cs
- SecurityContextSecurityTokenParameters.cs
- SrgsElementFactory.cs
- securitycriticaldataClass.cs
- SemanticAnalyzer.cs
- _ChunkParse.cs
- SqlBulkCopyColumnMapping.cs
- CommandID.cs
- OleDbParameterCollection.cs
- SchemaImporterExtensionElement.cs
- Sql8ExpressionRewriter.cs
- GridViewEditEventArgs.cs
- ResolvePPIDRequest.cs
- DllNotFoundException.cs
- OuterGlowBitmapEffect.cs
- AuthenticationSection.cs
- XPathAncestorQuery.cs
- WindowHelperService.cs
- ToolboxComponentsCreatedEventArgs.cs
- DelegatingConfigHost.cs
- ScriptingProfileServiceSection.cs
- DataGridViewRowsAddedEventArgs.cs
- SubMenuStyleCollection.cs
- BlurEffect.cs
- TextServicesContext.cs
- ValidationHelper.cs
- CopyNodeSetAction.cs
- ADMembershipProvider.cs
- Decimal.cs
- Processor.cs
- TypeLoadException.cs
- DropShadowBitmapEffect.cs
- TableProviderWrapper.cs
- RangeValueProviderWrapper.cs
- DefaultValueAttribute.cs
- XmlEncoding.cs
- DispatcherFrame.cs
- XmlChildEnumerator.cs
- RangeBaseAutomationPeer.cs
- AssemblyAssociatedContentFileAttribute.cs
- Win32SafeHandles.cs
- PropertyPushdownHelper.cs
- IpcClientManager.cs
- PointAnimationUsingPath.cs
- CodeExporter.cs
- SafeNativeMethodsOther.cs
- TreeWalker.cs
- SqlCommandBuilder.cs
- UInt64.cs
- SqlMetaData.cs
- __Error.cs
- TransformerTypeCollection.cs
- AssemblyAttributes.cs
- Debug.cs
- LassoSelectionBehavior.cs
- hresults.cs
- XmlHierarchicalEnumerable.cs
- COSERVERINFO.cs
- RoleManagerSection.cs