using EmployeeManagmentBusinessLogic.BusinessLogic; using EmployeeManagmentContracts.BusinessLogicContracts; using EmployeeManagmentContracts.ViewModels; using System.Windows; namespace EmployeeManagmentView { public partial class MainWindow : Window { private readonly IEmployeeLogic _employeeLogic; // Constructor with Dependency Injection public MainWindow(IEmployeeLogic employeeLogic) { _employeeLogic = employeeLogic; InitializeComponent(); } private void ViewEmployees_Click(object sender, RoutedEventArgs e) { // Логика для открытия окна просмотра сотрудников var employeesWindow = new EmployeesWindow(); employeesWindow.Show(); } private void ManageSalaries_Click(object sender, RoutedEventArgs e) { // Логика для открытия окна управления зарплатами var salariesWindow = new SalariesWindow(); salariesWindow.Show(); } private void ManageVacations_Click(object sender, RoutedEventArgs e) { // Логика для открытия окна управления отпусками var vacationsWindow = new VacationsWindow(); vacationsWindow.Show(); } } }