Ejemplo n.º 1
0
        private void DeleteEmployeeBtn_Click(object sender, RoutedEventArgs e)
        {
            DeleteEmployeeWindow deleteEmployeeWindow = new DeleteEmployeeWindow();

            deleteEmployeeWindow.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
 public DeleteEmployeeWindow()
 {
     InitializeComponent();
     DeleteEmployeeWindowInstance = this;
     EmployeeListView.ItemsSource = EmployeeRepository.GetEmployees();
     this.Closing += WindowClosed;
     EmployeeListView.SelectionChanged += ListViewSelectionChanged;
 }