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
- GAC.cs
- TransformerInfoCollection.cs
- InfoCardTrace.cs
- FilteredSchemaElementLookUpTable.cs
- SqlDataSourceFilteringEventArgs.cs
- ObjectContextServiceProvider.cs
- ConfigurationPermission.cs
- ProfilePropertySettings.cs
- ZipIOModeEnforcingStream.cs
- DeclarativeCatalogPart.cs
- OrCondition.cs
- TemplateParser.cs
- DbProviderFactory.cs
- QuaternionAnimation.cs
- KeyPullup.cs
- InternalConfigSettingsFactory.cs
- TemplateBamlTreeBuilder.cs
- ObsoleteAttribute.cs
- CorrelationTokenInvalidatedHandler.cs
- SelectionUIService.cs
- DataTableCollection.cs
- ContentDisposition.cs
- HttpHandlerAction.cs
- TreeWalker.cs
- ClientRolePrincipal.cs
- DatatypeImplementation.cs
- TemplatePartAttribute.cs
- DebugView.cs
- CommentEmitter.cs
- ErrorProvider.cs
- AvTrace.cs
- TypeTypeConverter.cs
- FormsAuthentication.cs
- PermissionToken.cs
- AsyncOperation.cs
- PolyBezierSegmentFigureLogic.cs
- RegexCode.cs
- FontResourceCache.cs
- SoapIgnoreAttribute.cs
- InkPresenter.cs
- VectorCollectionConverter.cs
- GridViewSortEventArgs.cs
- SecurityRuntime.cs
- WinInetCache.cs
- SSmlParser.cs
- DataGridViewTextBoxCell.cs
- Viewport3DAutomationPeer.cs
- OutputCacheModule.cs
- FileChangesMonitor.cs
- EventHandlerList.cs
- ControlLocalizer.cs
- PointValueSerializer.cs
- TimeSpanSecondsConverter.cs
- SoapBinding.cs
- SelectionProviderWrapper.cs
- SoapEnumAttribute.cs
- Vector3DConverter.cs
- BufferedReadStream.cs
- WorkflowOwnershipException.cs
- TransportReplyChannelAcceptor.cs
- HierarchicalDataSourceControl.cs
- ColumnWidthChangingEvent.cs
- DataColumnMappingCollection.cs
- WriteTimeStream.cs
- Membership.cs
- VBIdentifierNameEditor.cs
- GroupBoxAutomationPeer.cs
- Shape.cs
- WebErrorHandler.cs
- ColumnCollection.cs
- FileDialog.cs
- CodeTryCatchFinallyStatement.cs
- ContractComponent.cs
- TextEditorMouse.cs
- FixUpCollection.cs
- SchemaSetCompiler.cs
- TemplateContentLoader.cs
- SQLInt32Storage.cs
- CurrencyManager.cs
- ActivityTrace.cs
- DocumentGrid.cs
- ThreadStartException.cs
- DataGridViewColumnDesigner.cs
- MetadataCache.cs
- EndpointAddressElementBase.cs
- WebEventTraceProvider.cs
- DbParameterCollectionHelper.cs
- httpapplicationstate.cs
- ValidationPropertyAttribute.cs
- DataGridViewCellStyleChangedEventArgs.cs
- StrongNameSignatureInformation.cs
- HttpPostServerProtocol.cs
- ObjectListSelectEventArgs.cs
- PhysicalAddress.cs
- TextBreakpoint.cs
- XmlSchemaComplexContentRestriction.cs
- CharEnumerator.cs
- Button.cs
- XmlException.cs
- DependsOnAttribute.cs