diff --git a/EmployeeManagmentView/Employee/Salary/AddSalaryWindow.xaml b/EmployeeManagmentView/Employee/Salary/AddSalaryWindow.xaml new file mode 100644 index 0000000..980b0e1 --- /dev/null +++ b/EmployeeManagmentView/Employee/Salary/AddSalaryWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/EmployeeManagmentView/Employee/Salary/AddSalaryWindow.xaml.cs b/EmployeeManagmentView/Employee/Salary/AddSalaryWindow.xaml.cs new file mode 100644 index 0000000..9423575 --- /dev/null +++ b/EmployeeManagmentView/Employee/Salary/AddSalaryWindow.xaml.cs @@ -0,0 +1,33 @@ +using EmployeeManagmentContracts.BusinessLogicContracts; +using EmployeeManagmentContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +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.Shapes; + +namespace EmployeeManagmentView.Employee.Salary +{ + /// + /// Логика взаимодействия для AddSalaryWindow.xaml + /// + public partial class AddSalaryWindow : Window + { + + private readonly ISalaryLogic _salaryLogic; + + public AddSalaryWindow(ISalaryLogic salaryLogic) + { + _salaryLogic = salaryLogic; + InitializeComponent(); + } + } +} diff --git a/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml b/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml new file mode 100644 index 0000000..2cfd14a --- /dev/null +++ b/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml.cs b/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml.cs new file mode 100644 index 0000000..8d6ae44 --- /dev/null +++ b/EmployeeManagmentView/Employee/Salary/DeleteSalaryWindow.xaml.cs @@ -0,0 +1,32 @@ +using EmployeeManagmentContracts.BusinessLogicContracts; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +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.Shapes; + +namespace EmployeeManagmentView.Employee.Salary +{ + /// + /// Логика взаимодействия для DeleteSalaryWindow.xaml + /// + public partial class DeleteSalaryWindow : Window + { + + private readonly ISalaryLogic _salaryLogic; + + public DeleteSalaryWindow(ISalaryLogic salaryLogic) + { + _salaryLogic = salaryLogic; + InitializeComponent(); + } + } +} diff --git a/EmployeeManagmentView/Employee/Salary/EditSalaryWindow.xaml b/EmployeeManagmentView/Employee/Salary/EditSalaryWindow.xaml new file mode 100644 index 0000000..aafbb8e --- /dev/null +++ b/EmployeeManagmentView/Employee/Salary/EditSalaryWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/EmployeeManagmentView/Employee/Salary/EditSalaryWindow.xaml.cs b/EmployeeManagmentView/Employee/Salary/EditSalaryWindow.xaml.cs new file mode 100644 index 0000000..25a4fba --- /dev/null +++ b/EmployeeManagmentView/Employee/Salary/EditSalaryWindow.xaml.cs @@ -0,0 +1,32 @@ +using EmployeeManagmentContracts.BusinessLogicContracts; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +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.Shapes; + +namespace EmployeeManagmentView.Employee.Salary +{ + /// + /// Логика взаимодействия для EditSalaryWindow.xaml + /// + public partial class EditSalaryWindow : Window + { + + private readonly ISalaryLogic _salaryLogic; + + public EditSalaryWindow(ISalaryLogic salaryLogic) + { + _salaryLogic = salaryLogic; + InitializeComponent(); + } + } +} diff --git a/EmployeeManagmentView/Employee/Salary/SalaryManagementWindow.xaml b/EmployeeManagmentView/Employee/Salary/SalaryManagementWindow.xaml index 6e554c9..24af958 100644 --- a/EmployeeManagmentView/Employee/Salary/SalaryManagementWindow.xaml +++ b/EmployeeManagmentView/Employee/Salary/SalaryManagementWindow.xaml @@ -21,27 +21,31 @@ Width="250" Height="40" Margin="0,0,0,10" Background="#004890" Foreground="#FFFFFF" - Style="{StaticResource RoundedButtonStyle}"/> + Style="{StaticResource RoundedButtonStyle}" + Click="OpenDeleteSalaryWindow"/>