Exemplo n.º 1
0
        private void frmAcc_FormClosed(object sender, FormClosedEventArgs e)
        {
            frmAccount frmAcc = sender as frmAccount;

            if (frmAcc == null)
            {
                return;
            }

            if (!m_bgwGetData.IsBusy)
            {
                m_bgwGetData.RunWorkerAsync();
            }
        }
Exemplo n.º 2
0
        private void m_dgvAccountPeriod_DoubleClick(object sender, EventArgs e)
        {
            clsDS_AccountPeriodVO objAP = ((clsCtl_AccountPeriod)objController).m_objGetAccount();

            if (objAP == null)
            {
                return;
            }

            frmAccount frmAcc = new frmAccount(this.m_strDrugStoreid, objAP);

            frmAcc.FormClosed += new FormClosedEventHandler(frmAcc_FormClosed);
            frmAcc.ShowDialog();
        }
Exemplo n.º 3
0
        private void m_btnTransfer_Click(object sender, EventArgs e)
        {
            DateTime dtmBeginDate = ((clsCtl_AccountPeriod)objController).m_dtmGetBeginDate();

            if (dtmBeginDate == DateTime.MinValue)
            {
                MessageBox.Show("获取帐务期结转开始时间失败", "药房帐务期结转", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }

            frmAccount frmAcc = new frmAccount(this.m_strDrugStoreid, dtmBeginDate);

            frmAcc.FormClosed += new FormClosedEventHandler(frmAcc_FormClosed);
            frmAcc.ShowDialog();
        }
Exemplo n.º 4
0
 /// <summary>
 /// 设置窗体对象
 /// </summary>
 /// <param name="frmMDI_Child_Base_in"></param>
 public override void Set_GUI_Apperance(com.digitalwave.GUI_Base.frmMDI_Child_Base frmMDI_Child_Base_in)
 {
     base.Set_GUI_Apperance(frmMDI_Child_Base_in);
     m_objViewer = (frmAccount)frmMDI_Child_Base_in;
 }