public void FillAppointmentsTableByDate() { dataGridViewAppointments.DataSource = appointmentManager.GetByDate(dateTimePickerAppointment.Value.ToString("yyyy-MM-dd")); ShowImportantColumnsofDataGridViewAppointments(); }