Exemple #1
0
        private void tsrbtnBack_Click(object sender, EventArgs e)
        {
            FrmInorder frmOrder = new FrmInorder(_currentUserId, _currentDeptId, 2, _belongSystem);

            frmOrder.MdiParent   = this.MdiParent;
            frmOrder.WindowState = FormWindowState.Maximized;
            ((GWMHIS.BussinessLogicLayer.Interfaces.IInvokForm) this.Parent.Parent.Parent).AddFormToTabPage(frmOrder);
            frmOrder.Show();
        }
Exemple #2
0
        private void tsrbtnUpdate_Click(object sender, EventArgs e)
        {
            if (_currentMaster == null)
            {
                MessageBox.Show("请选中一行");
                return;
            }
            if (_currentMaster.Audit_Flag == 1)
            {
                MessageBox.Show("已审核单据无法进行修改");
                return;
            }
            FrmInorder frmOrder = new FrmInorder(_currentUserId, _currentDeptId, 1, _belongSystem);

            frmOrder.MdiParent      = this.MdiParent;
            frmOrder.WindowState    = FormWindowState.Maximized;
            frmOrder._currentMaster = _currentMaster;
            ((GWMHIS.BussinessLogicLayer.Interfaces.IInvokForm) this.Parent.Parent.Parent).AddFormToTabPage(frmOrder);
            frmOrder.Show();
        }