Beispiel #1
0
        private void DoBackWorkFromPaiban(EnumCreator.FlowType flowType)
        {
            dtHisInfo = _MigrationDal.GetPaiban();
            int rowCount = dtHisInfo.Rows.Count;

            this.backgroundWorker1.RunWorkerAsync();                              // 运行 backgroundWorker 组件
            ProcessForm form = new ProcessForm(this.backgroundWorker1, rowCount); // 显示进度条窗体

            form.ShowDialog(this);
            form.Close();
        }
Beispiel #2
0
 private void btnMzjld_Click(object sender, EventArgs e)
 {
     _FlowType = EnumCreator.FlowType.Mzjld;
     DoBackWorkFromPaiban(_FlowType);
 }
Beispiel #3
0
 private void btnAnesthesiaSummary_Click(object sender, EventArgs e)
 {
     _FlowType = EnumCreator.FlowType.AnesthesiaSummary;
     DoBackWorkFromPaiban(_FlowType);
 }
Beispiel #4
0
 private void button1_Click(object sender, EventArgs e)
 {
     _FlowType = EnumCreator.FlowType.AfterAnalgesia;
     DoBackWorkFromPaiban(_FlowType);
 }
Beispiel #5
0
 private void btnZtzlzqtys_Click(object sender, EventArgs e)
 {
     _FlowType = EnumCreator.FlowType.ZTZLTYS;
     DoBackWorkFromPaiban(_FlowType);
 }
Beispiel #6
0
 private void btnAfterVisit_YS_Click(object sender, EventArgs e)
 {
     _FlowType = EnumCreator.FlowType.AfterVisit;
     DoBackWorkFromPaiban(_FlowType);
 }
Beispiel #7
0
 private void btnBeforeVisit_HS_Click(object sender, EventArgs e)
 {
     _FlowType = EnumCreator.FlowType.BeforeVisit_HS;
     DoBackWorkFromPaiban(_FlowType);
 }
Beispiel #8
0
 private void btnPaiban_Click(object sender, EventArgs e)
 {
     _FlowType = EnumCreator.FlowType.Paiban;
     DoBackWork(_FlowType);
 }
 public FlowTypePat_Select(EnumCreator.FlowType flowType)
 {
     _FlowType = flowType;
     InitializeComponent();
 }