private void btnSubmit_Click(object sender, EventArgs e) { AddingWorkDay = new WorkDay(comboBxWorkersLogins.SelectedItem.ToString(), txtBxWorkDays.Text); }
public WorkDayRegisterForm(WorkDay wd) { AddingWorkDay = wd; IsFilled = true; InitializeComponent(); }