public FormHotel() { InitializeComponent(); Dictionary <string, TextBox> textBoxs = new Dictionary <string, TextBox>(); textBoxs.Add("Name", tbName); textBoxs.Add("City", tbCity); textBoxs.Add("Street", tbStreet); textBoxs.Add("Email", tbEmail); textBoxs.Add("Telephone", tbTelephone); controller = new ControllerHotel(dgvHotel, bindingNavigatorFormHotel, textBoxs); controller.FillColumns(); }
public FormStatisticHotel() { InitializeComponent(); controller = new ControllerHotel(chartHotel, cbHotel, dtpDate); }