SampleApp.Form1.cntxtMnuTreeView_Popup Function
Called before the tree view context menu pops up. Use this method to configure the context menu depending on the definition type of the selected component.

Private void cntxtMnuTreeView_Popup (object, System.EventArgs)
  Type Name Description  
    object sender    
    System.EventArgs e    
  Return Description  
    void