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
- LoginUtil.cs
- DataPagerCommandEventArgs.cs
- DependencyPropertyValueSerializer.cs
- DataReceivedEventArgs.cs
- EventNotify.cs
- ClientProxyGenerator.cs
- CompleteWizardStep.cs
- CounterSampleCalculator.cs
- HtmlProps.cs
- ProjectedSlot.cs
- StatusBarPanel.cs
- XmlSchemaAnnotation.cs
- DataControlCommands.cs
- UnsafeNativeMethods.cs
- MenuItemBinding.cs
- StreamInfo.cs
- PersonalizableAttribute.cs
- DataExpression.cs
- PersonalizablePropertyEntry.cs
- RecognizedAudio.cs
- StateValidator.cs
- SizeConverter.cs
- UnsafeNativeMethods.cs
- DependencyPropertyAttribute.cs
- UrlMapping.cs
- SerializerProvider.cs
- ColumnWidthChangedEvent.cs
- ImageConverter.cs
- SettingsPropertyCollection.cs
- EtwProvider.cs
- DateTime.cs
- MdImport.cs
- FileDataSourceCache.cs
- ContainerCodeDomSerializer.cs
- Peer.cs
- SafeHandle.cs
- AnnotationService.cs
- SafeNativeMethods.cs
- RectangleGeometry.cs
- SHA512CryptoServiceProvider.cs
- DataBoundControlHelper.cs
- Pair.cs
- ColumnBinding.cs
- ProfileSettings.cs
- FunctionUpdateCommand.cs
- StubHelpers.cs
- WindowsGraphics2.cs
- sqlinternaltransaction.cs
- NetStream.cs
- PointAnimationBase.cs
- NavigationExpr.cs
- ObjectDataSourceEventArgs.cs
- IsolationInterop.cs
- HtmlImage.cs
- NullableIntSumAggregationOperator.cs
- XsdDataContractExporter.cs
- WebDescriptionAttribute.cs
- XamlClipboardData.cs
- QilIterator.cs
- ContextInformation.cs
- peersecurityelement.cs
- CalendarSelectionChangedEventArgs.cs
- EventlogProvider.cs
- METAHEADER.cs
- DateTimeUtil.cs
- ComboBoxItem.cs
- AtomParser.cs
- WebPartPersonalization.cs
- RegexGroupCollection.cs
- HttpModulesSection.cs
- DataObjectEventArgs.cs
- PrivateFontCollection.cs
- WorkflowDesignerMessageFilter.cs
- AdornerLayer.cs
- StorageTypeMapping.cs
- OleDbParameter.cs
- RunInstallerAttribute.cs
- GAC.cs
- InstalledFontCollection.cs
- CompiledQuery.cs
- SmtpReplyReader.cs
- BaseProcessProtocolHandler.cs
- ListViewItemSelectionChangedEvent.cs
- CodeCompiler.cs
- PackagePart.cs
- XmlCharCheckingWriter.cs
- Source.cs
- EventLogInternal.cs
- IisTraceWebEventProvider.cs
- Visual.cs
- SqlComparer.cs
- PeerApplicationLaunchInfo.cs
- DataGridTable.cs
- FixedStringLookup.cs
- SecurityDocument.cs
- WebPartTransformer.cs
- ProcessHostMapPath.cs
- SecurityManager.cs
- RootProfilePropertySettingsCollection.cs
- SoapIgnoreAttribute.cs