Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ // // 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
- PathGeometry.cs
- SafePEFileHandle.cs
- CryptoProvider.cs
- AsmxEndpointPickerExtension.cs
- ImageConverter.cs
- hebrewshape.cs
- Cursors.cs
- SpoolingTask.cs
- TextEditorTyping.cs
- XmlReader.cs
- NativeMethods.cs
- PieceNameHelper.cs
- FormatConvertedBitmap.cs
- HttpException.cs
- FilteredXmlReader.cs
- TerminatingOperationBehavior.cs
- SharedPerformanceCounter.cs
- ACE.cs
- FileDialog.cs
- SpeechAudioFormatInfo.cs
- SqlDataSourceCache.cs
- ActivityExecutorSurrogate.cs
- DocumentGrid.cs
- ClientSettingsSection.cs
- ObjectComplexPropertyMapping.cs
- SmtpFailedRecipientsException.cs
- CurrentChangingEventManager.cs
- RuntimeConfig.cs
- HttpProcessUtility.cs
- TokenizerHelper.cs
- ModelTreeEnumerator.cs
- DataGridViewIntLinkedList.cs
- SchemaEntity.cs
- OptimisticConcurrencyException.cs
- Bind.cs
- ProgressBarHighlightConverter.cs
- ToolTip.cs
- TypeUtil.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- Transform3D.cs
- SqlUDTStorage.cs
- BaseComponentEditor.cs
- BitVec.cs
- AuthenticationException.cs
- XmlILAnnotation.cs
- RegexCompilationInfo.cs
- ReachUIElementCollectionSerializer.cs
- RepeaterItemEventArgs.cs
- SimpleType.cs
- MultiBindingExpression.cs
- GridPattern.cs
- WebGetAttribute.cs
- SBCSCodePageEncoding.cs
- ArrayWithOffset.cs
- HMACSHA512.cs
- BrowserCapabilitiesFactory.cs
- ServiceConfigurationTraceRecord.cs
- CustomCategoryAttribute.cs
- ResourceExpression.cs
- ChtmlPageAdapter.cs
- StsCommunicationException.cs
- CacheVirtualItemsEvent.cs
- XAMLParseException.cs
- RadialGradientBrush.cs
- PathData.cs
- Tile.cs
- Set.cs
- GeneralTransform2DTo3DTo2D.cs
- ToolStripDropDown.cs
- TableItemStyle.cs
- WeakHashtable.cs
- unitconverter.cs
- SeparatorAutomationPeer.cs
- DataGridViewCellFormattingEventArgs.cs
- PropertyHelper.cs
- ScriptRegistrationManager.cs
- DesignerRegionCollection.cs
- CodeParameterDeclarationExpression.cs
- FlowDocumentScrollViewer.cs
- StackOverflowException.cs
- EventLog.cs
- XmlWriterTraceListener.cs
- ConnectionPointGlyph.cs
- _CommandStream.cs
- WebPartDescriptionCollection.cs
- Ray3DHitTestResult.cs
- ColorTransform.cs
- MailDefinition.cs
- RadioButtonBaseAdapter.cs
- TemplateBuilder.cs
- PathGeometry.cs
- WCFServiceClientProxyGenerator.cs
- TextCharacters.cs
- SizeChangedEventArgs.cs
- LineSegment.cs
- FormViewPagerRow.cs
- SpeechAudioFormatInfo.cs
- CriticalExceptions.cs
- Marshal.cs
- EntityDataSourceUtil.cs