wxr
2021-07-01 43b0d5870d528f23ecd6aeceb6cfd4325188b46f
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using System.Collections.Generic;
using HDL_ON.Entity;
 
namespace HDL_ON.UI
{
    public partial class TopViewDiv
    {
        void LoadEventList()
        {
            LoadEvent_BackEvent();
        }
 
        void LoadEvent_BackEvent()
        {
            btnBack.MouseUpEventHandler = (sender, e) => {
                backAction?.Invoke();
                if (needClose)
                {
                    if (baseView != null)
                    {
                        baseView.RemoveFromParent();
                    }
                    if (baseDialog != null)
                    {
                        baseDialog.Close();
                    }
                }
            };
        }
 
 
        /// <summary>
        /// 顶部添加按钮点击事件
        /// </summary>
        /// <param name="type">添加按钮的功能类型</param>
        void LoadEvent_AddEvent(string type,Action <string,string> callBack)
        {
            //switch (type)
            //{
                
                
            //}
        }
 
    }
}