Exemplo n.º 1
0
        private void manage_workers_btn_Click(object sender, RoutedEventArgs e)
        {
            manageWorkers mw = new manageWorkers(db1);

            mw.ShowDialog();
            Mw_update();
        }
Exemplo n.º 2
0
        private void manage_workers_btn_Click(object sender, RoutedEventArgs e)
        {
            this.Hide();
            manageWorkers mw = new manageWorkers(db1);

            mw.ShowDialog();
            emp_dtgrid.ItemsSource       = db1.employee.ToList();
            emp_pcode_dtgrid.ItemsSource = db1.postal_code.ToList();
            emp_type_dtgrid.ItemsSource  = db1.employee_type.ToList();
            this.Show();
        }