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