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