Beispiel #1
0
 /// <summary>
 /// 上方菜单tab行右击事件
 /// Created:20170410(ChengMengjia)
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MainSuperTabControl_TabStripMouseDown(object sender, MouseEventArgs e)
 {
     if (e.Button == System.Windows.Forms.MouseButtons.Right)
     {
         Point point = MainSuperTabControl.PointToClient(Cursor.Position);
         this.CloseTabContextMenu.Show(MainSuperTabControl, point);
     }
 }