private void trvMoldManage_MouseClick(object sender, MouseEventArgs e)
        {
            trvMoldManage.ContextMenuStrip = null;
            TreeNode selectNode = trvMoldManage.GetNodeAt(e.X, e.Y);
            if (selectNode.Level == 2)
            {
                trvMoldManage.ContextMenuStrip = ctmsMold;
            }
            else if (selectNode.Level == 3)
            {
                trvMoldManage.ContextMenuStrip = ctmsMold;
            }
            else if (selectNode.Level == 4)
            {
                trvMoldManage.ContextMenuStrip = cmueDP;
            }

        }

相关文章:

  • 2021-11-20
  • 2021-06-10
  • 2022-12-23
  • 2021-11-01
  • 2021-12-30
  • 2021-05-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
相关资源
相似解决方案