private void JumpToDateButton_Click(object sender, EventArgs e) { string date = dateTimePicker1.Text; if (businessLogic.DateFormat(date)) { SetDateOnStart(date); SectionSetToDefaultMulti(); SectionFillMulti(); } else { MessageBox.Show("Błąd formatu daty!"); } }