private void editWorker_Click(object sender, EventArgs e) { if (workerBoard.SelectedObject != null) { var workerWindow = new WorkerWindow(); workerWindow.Show(); } }
private void addWorker_Click(object sender, EventArgs e) { var workerWindow = new WorkerWindow(); workerWindow.Show(); }