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

            if (frm.ShowDialog() == DialogResult.OK)
            {
                ExecItemRefresh();
            }
        }
Beispiel #2
0
        protected override void ExecItemEdit()
        {
            base.ExecItemEdit();
            DataRowView     drv  = (DataRowView)bindingSource.Current;
            string          GUID = drv.Row["HolidaySysID"].ToString();
            frmKQHolidayAdd frm  = new frmKQHolidayAdd(this.Text, CurrentTool, GUID);

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