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
- RouteTable.cs
- SQLByte.cs
- HijriCalendar.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- SignedInfo.cs
- Error.cs
- ProjectionPlan.cs
- EntryIndex.cs
- SortedDictionary.cs
- UmAlQuraCalendar.cs
- GridEntry.cs
- Int16.cs
- HyperLinkField.cs
- ServiceDescriptionContext.cs
- TextBreakpoint.cs
- BasicExpandProvider.cs
- VectorValueSerializer.cs
- LZCodec.cs
- BindingList.cs
- CodeCompileUnit.cs
- SqlUnionizer.cs
- SizeConverter.cs
- LinearKeyFrames.cs
- JsonReader.cs
- CharEnumerator.cs
- MergePropertyDescriptor.cs
- Point4D.cs
- SrgsSubset.cs
- ProxyManager.cs
- CodeExporter.cs
- RelationshipEndCollection.cs
- InvokeWebService.cs
- DeviceSpecificDialogCachedState.cs
- UICuesEvent.cs
- BitmapEffectCollection.cs
- UITypeEditor.cs
- GPRECT.cs
- WindowsContainer.cs
- DataIdProcessor.cs
- StringPropertyBuilder.cs
- FileSystemInfo.cs
- OutgoingWebRequestContext.cs
- TableAutomationPeer.cs
- EnumerableRowCollection.cs
- DescendantQuery.cs
- RuntimeConfig.cs
- IndicShape.cs
- FragmentQueryProcessor.cs
- BamlCollectionHolder.cs
- XmlReaderSettings.cs
- ProxyHwnd.cs
- RecipientInfo.cs
- NoneExcludedImageIndexConverter.cs
- StatusBar.cs
- FileLoadException.cs
- ConfigPathUtility.cs
- DbConnectionPoolGroup.cs
- FormViewDesigner.cs
- ClosableStream.cs
- FileDialog_Vista.cs
- UpDownBase.cs
- MultiSelectRootGridEntry.cs
- QueryTask.cs
- ResXDataNode.cs
- _ConnectStream.cs
- XamlTypeMapper.cs
- TreeSet.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ContentTextAutomationPeer.cs
- InitializeCorrelation.cs
- Overlapped.cs
- DataGridHelper.cs
- DesignerCommandAdapter.cs
- PanelStyle.cs
- XmlLinkedNode.cs
- SingleResultAttribute.cs
- RenderingBiasValidation.cs
- LogLogRecord.cs
- DataPagerFieldCollection.cs
- CommandID.cs
- SeverityFilter.cs
- ViewStateException.cs
- WinFormsComponentEditor.cs
- TextDecorationCollection.cs
- X509WindowsSecurityToken.cs
- LoadWorkflowCommand.cs
- RadioButton.cs
- MembershipUser.cs
- TreeViewAutomationPeer.cs
- RequestBringIntoViewEventArgs.cs
- HeaderLabel.cs
- IndexedString.cs
- RepeaterItem.cs
- FixedBufferAttribute.cs
- ResourceAttributes.cs
- ProviderConnectionPoint.cs
- Popup.cs
- CustomLineCap.cs
- UniformGrid.cs
- NonSerializedAttribute.cs