public MainForm() { InitializeComponent(); dataSet = new DataSet(); employees = new EmployeeTable(Properties.Settings.Default.connectionString, dataSet); data = new DataController(); data.PopulateListBoxServices(listBoxServices); data.PopulateListBoxEmployees(listBoxEmployees); populateJobsListBox(); populateCarsListBox(); populateClientsListBox(); populateJobsListBox(); populateJobEmployeesListBox(); }
private void buttonAddService_Click(object sender, EventArgs e) { data.PopulateListBoxServices(listBoxServices); }