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
- RemotingServices.cs
- HttpHandlerAction.cs
- RegisteredArrayDeclaration.cs
- UIElement.cs
- DiscoveryExceptionDictionary.cs
- Helpers.cs
- BitmapEffectInput.cs
- ObjectParameterCollection.cs
- ItemList.cs
- GeneratedContractType.cs
- CalendarSelectionChangedEventArgs.cs
- KeySplineConverter.cs
- DynamicValueConverter.cs
- LongValidatorAttribute.cs
- PrintPageEvent.cs
- GlobalizationSection.cs
- XPathAncestorQuery.cs
- HtmlFormWrapper.cs
- DbMetaDataFactory.cs
- ToolStripMenuItem.cs
- BitmapEffect.cs
- COM2ExtendedUITypeEditor.cs
- EdmProperty.cs
- XmlSchemaGroupRef.cs
- WebPartsPersonalization.cs
- Funcletizer.cs
- DbDataReader.cs
- OuterGlowBitmapEffect.cs
- RuntimeArgumentHandle.cs
- TypeReference.cs
- Label.cs
- FormParameter.cs
- DirectoryRedirect.cs
- RegexCapture.cs
- ColumnPropertiesGroup.cs
- DataKeyCollection.cs
- ThreadSafeMessageFilterTable.cs
- UTF32Encoding.cs
- BevelBitmapEffect.cs
- NegotiateStream.cs
- ParserContext.cs
- CacheRequest.cs
- WebPartsPersonalization.cs
- VirtualPath.cs
- OneWayBindingElementImporter.cs
- StrokeIntersection.cs
- SqlBuffer.cs
- ToolStripDropDownClosingEventArgs.cs
- PeerOutputChannel.cs
- _SSPISessionCache.cs
- ConnectionPointCookie.cs
- SapiGrammar.cs
- DetailsViewModeEventArgs.cs
- Image.cs
- RelatedCurrencyManager.cs
- TypeNameHelper.cs
- Int16KeyFrameCollection.cs
- ThemeableAttribute.cs
- WSFederationHttpBindingElement.cs
- MetadataSection.cs
- InkCollectionBehavior.cs
- HttpApplication.cs
- NullToBooleanConverter.cs
- PageScaling.cs
- EntityObject.cs
- SelectionWordBreaker.cs
- ColumnWidthChangedEvent.cs
- webproxy.cs
- InternalBufferOverflowException.cs
- ConfigDefinitionUpdates.cs
- ConfigurationStrings.cs
- CellTreeNodeVisitors.cs
- PanelContainerDesigner.cs
- SmtpCommands.cs
- StringDictionaryCodeDomSerializer.cs
- RtfToXamlLexer.cs
- AssemblyBuilder.cs
- FacetValueContainer.cs
- _CookieModule.cs
- Pair.cs
- DataGridLinkButton.cs
- LiteralTextContainerControlBuilder.cs
- LinqDataSourceView.cs
- WaitHandle.cs
- DataGridViewRow.cs
- RichTextBox.cs
- LinkLabel.cs
- ItemMap.cs
- IgnorePropertiesAttribute.cs
- FilterException.cs
- SqlAliaser.cs
- MethodBody.cs
- TagPrefixAttribute.cs
- GridViewDeleteEventArgs.cs
- Bitmap.cs
- IOException.cs
- WeakReferenceKey.cs
- XpsFilter.cs
- QuaternionAnimation.cs
- FormViewInsertedEventArgs.cs