示例#1
0
        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();
        }
示例#4
0
        public void ShowEmployeesView()
        {
            var employeesWin = new EmployeesWindow();

            employeesWin.Show();
        }