duheng
2024-07-18 7bf79c6515f27ba9be8d2b3fb4e3ceae5718e3e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using HStation.BLL;
 
namespace HStation.WinFrmUI.Xhs.PumpProduct
{
    public partial class PumpPartDlg : DevExpress.XtraEditors.XtraForm
    {
        public PumpPartDlg()
        {
            InitializeComponent();
        }
 
        private PumpPartMain _allBindingList = null;
 
        public void SetBindingData(long ID)
        {
        }
 
        //左侧树右击菜单事件
        private void treeList1_MouseUp(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Right)
            {
                if (this..GetCurrentViewModel(_allBindingList) != null)
                {
                    Point screenPoint = Cursor.Position;
                    popupPump.ShowPopup(screenPoint);
                }
            }
        }
    }
}