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(); } } }; } /// /// 顶部添加按钮点击事件 /// /// 添加按钮的功能类型 void LoadEvent_AddEvent(string type,Action callBack) { //switch (type) //{ //} } } }