//************************************************************************* // Constructor: RunVertexCommandEventArgs() // /// <summary> /// Initializes a new instance of the <see /// cref="RunVertexCommandEventArgs" /> class. /// </summary> /// /// <param name="vertexRowID"> /// Row ID of the vertex that was right-clicked in the vertex table in the /// vertex worksheet, or <see cref="WorksheetContextMenuManager.NoRowID" /> /// if a vertex wasn't right-clicked. This is a row ID that is stored in /// the worksheet, NOT an IEdge.ID value. /// </param> /// /// <param name="vertexCommand"> /// Command to run. /// </param> //************************************************************************* public RunVertexCommandEventArgs ( Int32 vertexRowID, WorksheetContextMenuManager.VertexCommand vertexCommand ) { m_iVertexRowID = vertexRowID; m_eVertexCommand = vertexCommand; AssertValid(); }
//************************************************************************* // Constructor: RunVertexCommandEventArgs() // /// <summary> /// Initializes a new instance of the <see /// cref="RunVertexCommandEventArgs" /> class. /// </summary> /// /// <param name="vertexRowID"> /// Row ID of the vertex that was right-clicked in the vertex table in the /// vertex worksheet, or <see cref="WorksheetContextMenuManager.NoRowID" /> /// if a vertex wasn't right-clicked. This is a row ID that is stored in /// the worksheet, NOT an IEdge.ID value. /// </param> /// /// <param name="vertexCommand"> /// Command to run. /// </param> //************************************************************************* public RunVertexCommandEventArgs( Int32 vertexRowID, WorksheetContextMenuManager.VertexCommand vertexCommand ) { m_iVertexRowID = vertexRowID; m_eVertexCommand = vertexCommand; AssertValid(); }