private async void UpdateTable() { Rpc.IResult p; if (m_type) { p = await CrmInvestor.GetHistoryMgrsOfRegUser(m_id); } else { p = await CrmInvestor.GetHistoryMgrs(m_id); } if (p.IsOk) { myGridViewBinding1.BindTo(p); } else { Commons.ShowResultErrorBox(this, p); } }