private void AddNewWorker_Click(object sender, EventArgs e) { AddWorker addWorker = new AddWorker(); addWorker.Show(); DispWorkers.DataSource = DBManager.DisplayAllDB <Worker>(); }
private void button1_Click(object sender, EventArgs e) { AddWorker addWorker = new AddWorker(); addWorker.Show(); }