private void delete_worker_btn_Click(object sender, RoutedEventArgs e) { this.Hide(); DeleteWorker deleteWorker = new DeleteWorker(db1); deleteWorker.ShowDialog(); }
private void delete_worker_btn_Click(object sender, RoutedEventArgs e) { this.Hide(); DeleteWorker deleteWorker = new DeleteWorker(db1); deleteWorker.ShowDialog(); emp_dtgrid.ItemsSource = db1.employee.ToList(); this.Show(); }