private async void Del() { var delMgr = treeView1.SelectedNode.Text; if (Commons.ShowConfirmBox(this, string.Format("确认删除{0}吗?此操作无法被撤销。", delMgr))) { var p = await CrmInvestor.DeleteManager(delMgr); if (p.IsOk) { UpdateTable1(); } else { Commons.ShowResultErrorBox(this, p); } } }