protected override void ExecItemAdd() { base.ExecItemAdd(); frmKQTypeSetDayoffAdd frm = new frmKQTypeSetDayoffAdd(this.Text, CurrentTool, ""); if (frm.ShowDialog() == DialogResult.OK) { ExecItemRefresh(); } }
protected override void ExecItemEdit() { base.ExecItemEdit(); DataRowView drv = (DataRowView)bindingSource.Current; string GUID = drv.Row["DayOffTypeSysID"].ToString(); frmKQTypeSetDayoffAdd frm = new frmKQTypeSetDayoffAdd(this.Text, CurrentTool, GUID); if (frm.ShowDialog() == DialogResult.OK) { ExecItemRefresh(); } }