Exemplo n.º 1
0
 public override void OnRefreshView()
 {
     this.Update();
     this.ShowStatusMessage("正在下载用户列表,请稍候...");
     if (!InitControlData.InitcboUserList(ref this.cboUserList))
     {
         MessageBoxEx.Show("用户列表下载失败!");
     }
     this.ShowStatusMessage(null);
 }
Exemplo n.º 2
0
 protected override void OnShown(EventArgs e)
 {
     base.OnShown(e);
     this.dtpStatTimeEnd.Value   = DateTime.Now;
     this.dtpStatTimeBegin.Value = DateTime.Now.AddDays(-1);
     this.ShowStatusMessage("正在下载用户列表,请稍候...");
     if (!InitControlData.InitcboUserList(ref this.cboUserList))
     {
         MessageBoxEx.Show("用户列表下载失败!");
     }
     this.ShowStatusMessage(null);
 }
Exemplo n.º 3
0
 protected override void OnShown(EventArgs e)
 {
     base.OnShown(e);
     if (!InitControlData.InitCboDeptName(ref this.cboDeptName))
     {
         MessageBoxEx.ShowError("加载科室列表失败");
     }
     if (!InitControlData.InitcboUserList(ref this.cboUserList))
     {
         MessageBoxEx.ShowError("加载质控医生列表失败");
     }
     this.dtTimeBegin.Value = DateTime.Now.AddMonths(-1);
     this.dtTimeEnd.Value   = DateTime.Now;
     this.Text = "出院患者";
 }
Exemplo n.º 4
0
 protected override void OnShown(EventArgs e)
 {
     base.OnShown(e);
     if (!InitControlData.InitCboDeptName(ref this.cboDeptName))
     {
         MessageBoxEx.ShowError("加载科室列表失败");
     }
     if (!InitControlData.InitcboUserList(ref this.cboUserList))
     {
         MessageBoxEx.ShowError("加载质控医生列表失败");
     }
     this.dtIssuedBegin.Value   = DateTime.Now.AddMonths(-1);
     this.dtIssuedEnd.Value     = DateTime.Now;
     this.col_2_btnPass.Image   = Properties.Resources.confirm;
     this.col_2_btnReject.Image = Properties.Resources._return;
 }