private void button1_Click(object sender, EventArgs e) { if (check() == false) { MessageBox.Show("Enter correct data!"); } else { FilterCol obj = new FilterCol(this); obj.checkingBoxes(); FilterContr contr = new FilterContr(obj); contr.filtering(); } stdObj(); }
public FilterContr(FilterCol obj) { filtrationTours = new TourFiltr(); allTours = TourFactory.getTours(); }