示例#1
0
        protected override void ExecItemAdd()
        {
            base.ExecItemAdd();
            frmPassTimeAdd frm = new frmPassTimeAdd(this.Text, CurrentTool, "");

            if (frm.ShowDialog() == DialogResult.OK)
            {
                ExecItemRefresh();
            }
        }
示例#2
0
        protected override void ExecItemEdit()
        {
            base.ExecItemEdit();
            frmPassTimeAdd frm = new frmPassTimeAdd(this.Text, CurrentTool,
                                                    Report.FieldByName("PassTimeID").AsString);

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