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

            if (frm.ShowDialog() == DialogResult.OK)
            {
                ExecItemRefresh();
            }
        }
Exemplo n.º 2
0
        protected override void ExecItemEdit()
        {
            base.ExecItemEdit();
            frmKQEmpDayOffAdd frm = new frmKQEmpDayOffAdd(this.Text, CurrentTool,
                                                          Report.FieldByName("EmpDayOffID").AsString);

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