Пример #1
0
        private async void UpdateBorrowTime()
        {
            var newBorrowTime = Commons.ShowDateTimeInputDialog(this, dtpExpecteBorTime.Value, "新的截止时间:", "延期募集", 200);

            var r = new Dictionary <string, object>();

            r["pid"]       = m_pId;
            r["datepoint"] = newBorrowTime;
            var p = await Projects.UpdateDelayDate(r);

            if (p.IsOk)
            {
                UpdateData1();
            }
            else
            {
                Commons.ShowResultErrorBox(this, p);
            }
        }