Example #1
0
        private async void UpdateTable1()
        {
            btnSearch.Enabled = false;
            var r = await CrmInvestor.GetInvestors3TimeOut();

            if (r.IsOk)
            {
                this.myGridViewBinding1.BindTo(r);
            }
            else
            {
                Commons.ShowResultErrorBox(this, r);
            }
            btnSearch.Enabled = true;
        }