예제 #1
0
        private void delete_worker_btn_Click(object sender, RoutedEventArgs e)
        {
            this.Hide();
            DeleteWorker deleteWorker = new DeleteWorker(db1);

            deleteWorker.ShowDialog();
        }
예제 #2
0
        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();
        }