public void Employees() { var window = new EmployeesWindow(); window.DataContext = new EmployeesViewModel(_user); window.Show(); }
private void Employees() { EmployeesWindow ew = new EmployeesWindow(parent); ew.Show(); }
private void employee_Click(object sender, RoutedEventArgs e) { EmployeesWindow employees = new EmployeesWindow(employee); employees.Show(); }
public void ShowEmployeesView() { var employeesWin = new EmployeesWindow(); employeesWin.Show(); }