Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MiniConstructorInfo.cs
- PointLightBase.cs
- InteropBitmapSource.cs
- HtmlLink.cs
- COMException.cs
- FacetDescriptionElement.cs
- EnumBuilder.cs
- HttpCookie.cs
- XmlTypeMapping.cs
- MenuItem.cs
- DataPagerFieldItem.cs
- DesignerLoader.cs
- _TLSstream.cs
- SafeNativeMethods.cs
- ISFTagAndGuidCache.cs
- NamespaceListProperty.cs
- ResponseBodyWriter.cs
- DelegateSerializationHolder.cs
- HandlerWithFactory.cs
- EncodingInfo.cs
- SourceFilter.cs
- SecurityRuntime.cs
- RemoteDebugger.cs
- HwndStylusInputProvider.cs
- OleDbInfoMessageEvent.cs
- DeviceSpecific.cs
- EnumBuilder.cs
- InheritablePropertyChangeInfo.cs
- _SingleItemRequestCache.cs
- DbParameterCollection.cs
- PrimitiveType.cs
- ACL.cs
- CodeExporter.cs
- CustomWebEventKey.cs
- MasterPageBuildProvider.cs
- ListControl.cs
- StrokeNodeData.cs
- ImageCodecInfo.cs
- SystemUnicastIPAddressInformation.cs
- Camera.cs
- EntityDataSourceSelectingEventArgs.cs
- AccessibilityApplicationManager.cs
- DataGridToolTip.cs
- BamlMapTable.cs
- NumericUpDown.cs
- SemaphoreFullException.cs
- StructuredProperty.cs
- DataSourceCache.cs
- FileLogRecordEnumerator.cs
- AliasedSlot.cs
- SortKey.cs
- Constraint.cs
- DragEventArgs.cs
- ArithmeticException.cs
- ToolStripPanel.cs
- Transform.cs
- _LoggingObject.cs
- InfoCardUIAgent.cs
- GridViewSortEventArgs.cs
- HandleExceptionArgs.cs
- TraceXPathNavigator.cs
- ExpressionServices.cs
- BindingMemberInfo.cs
- ConstrainedGroup.cs
- SelectorAutomationPeer.cs
- ReachPageContentCollectionSerializerAsync.cs
- GuidelineSet.cs
- InputReferenceExpression.cs
- DataSourceNameHandler.cs
- XslCompiledTransform.cs
- WorkflowMarkupSerializationException.cs
- WindowsImpersonationContext.cs
- odbcmetadatafactory.cs
- SettingsPropertyCollection.cs
- AbsoluteQuery.cs
- SafeTimerHandle.cs
- ColumnWidthChangedEvent.cs
- InputScopeAttribute.cs
- ExpressionBuilder.cs
- SoapUnknownHeader.cs
- DesignColumnCollection.cs
- SecurityTokenInclusionMode.cs
- WebConfigurationHostFileChange.cs
- DetailsViewCommandEventArgs.cs
- IgnoreFileBuildProvider.cs
- DataProtection.cs
- HostedHttpContext.cs
- XmlSchemaSet.cs
- SaveFileDialog.cs
- XPathAncestorQuery.cs
- ExpandedWrapper.cs
- ParseHttpDate.cs
- WebPartConnectionsDisconnectVerb.cs
- EditingCommands.cs
- ObjectCacheHost.cs
- NavigationProgressEventArgs.cs
- PlainXmlDeserializer.cs
- TrimSurroundingWhitespaceAttribute.cs
- ScrollItemProviderWrapper.cs
- NotFiniteNumberException.cs