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

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

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