private void tbtnAdd_Click(object sender, EventArgs e) { frmShiftNew pForm = new frmShiftNew(this); pForm.FormCaller = FormCallers.ShiftList; pForm.ShowDialog(); }
private void btnShiftAdd_Click(object sender, EventArgs e) { frmShiftNew pForm = new frmShiftNew(this); pForm.FormCaller = FormCallers.HolidayNew; pForm.ShowDialog(); }