Exemple #1
0
 public void OnUserInfoButtonClicked()
 {
     UIAPI.ShowMsgBox("重新登录", "是否重新登录?", "确定|取消", param => {
         if ((int)param == 0)
         {
             HomeModule module = ModuleManager.Instance.GetModule(ModuleDef.HomeModule) as HomeModule;
             module.TryReLogin();
         }
     });
 }
Exemple #2
0
 public void OpenModule(string name, string arg)
 {
     UIAPI.ShowMsgBox(name, "模块正在开发中...", "确定");
 }