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

            if (frm.ShowDialog() == DialogResult.OK)
            {
                ExecItemRefresh();
            }
        }
예제 #2
0
        protected override void ExecItemEdit()
        {
            base.ExecItemEdit();
            frmKQEmpOtSureAdd frm = new frmKQEmpOtSureAdd(this.Text, CurrentTool,
                                                          Report.FieldByName("EmpOtSureID").AsString);

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