45 lines
1.4 KiB
C#
45 lines
1.4 KiB
C#
using System.Text;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Navigation;
|
|
using System.Windows.Shapes;
|
|
|
|
namespace EmployeeManagmentView
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for MainWindow.xaml
|
|
/// </summary>
|
|
public partial class MainWindow : Window
|
|
{
|
|
public MainWindow()
|
|
{
|
|
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();
|
|
}
|
|
}
|
|
} |