Esempio n. 1
0
        protected override void ExecItemAdd()
        {
            base.ExecItemAdd();
            frmKQEmpOtSureAdd frm = new frmKQEmpOtSureAdd(this.Text, CurrentTool, "");

            if (frm.ShowDialog() == DialogResult.OK)
            {
                ExecItemRefresh();
            }
        }
Esempio n. 2
0
        protected override void ExecItemEdit()
        {
            base.ExecItemEdit();
            if (!db.CheckDepartPowerByEmpSysID(Report.FieldByName("EmpSysID").AsString))
            {
                return;
            }
            frmKQEmpOtSureAdd frm = new frmKQEmpOtSureAdd(this.Text, CurrentTool, Report.FieldByName("GUID").AsString);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                ExecItemRefresh();
            }
        }