Beispiel #1
0
 private void ToHIS_Load(object sender, EventArgs e)
 {
     try
     {
         Thread th = new Thread(() =>
         {
             #region csw修改,需要此exe下配置文件IMEQPIVAs.ini
             ICharge charge = ChargeFactory.GetCharge(dbHelp.IniReadValuePivas("Charge", "HospitalType"));
             #endregion
             ok = charge.PrintCharge(p, userID);
         });
         th.IsBackground = true;
         th.Start();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }