From 637b7ff815b86ed22ea2af2e4a136e52c06f1f7f Mon Sep 17 00:00:00 2001 From: Mikan <72257910+Mikan-DS@users.noreply.github.com> Date: Fri, 23 May 2025 19:20:57 +0300 Subject: [PATCH] update --- OfficeFlow/App.xaml | 10 ++ OfficeFlow/Models/Utils/Employee.cs | 39 +++++ OfficeFlow/Models/Utils/User.cs | 28 ++++ OfficeFlow/OfficeFlow.csproj | 25 +++ .../EmployeePages/CreateEmployeePage.xaml | 51 ++++++ .../EmployeePages/CreateEmployeePage.xaml.cs | 86 ++++++++++ .../Pages/EmployeePages/CreateUserPage.xaml | 55 +++++++ .../EmployeePages/CreateUserPage.xaml.cs | 94 +++++++++++ .../Pages/EmployeePages/EmployeesPage.xaml | 59 ++++++- .../Pages/EmployeePages/EmployeesPage.xaml.cs | 150 +++++++++++++++++- .../EmployeePages/EmployeesPositionsPage.xaml | 18 ++- .../EmployeesPositionsPage.xaml.cs | 141 +++++++++++++++- .../Pages/EmployeePages/LinkUserPage.xaml | 36 +++++ .../Pages/EmployeePages/LinkUserPage.xaml.cs | 98 ++++++++++++ OfficeFlow/Pages/MainPage.xaml.cs | 49 +++++- OfficeFlow/Utils/Converters/CountConverter.cs | 37 +++++ OfficeFlow/Utils/Converters/DateConverter.cs | 43 +++++ .../Converters/NullToVisibilityConverter.cs | 27 ++++ OfficeFlow/Utils/Session.cs | 5 +- 19 files changed, 1039 insertions(+), 12 deletions(-) create mode 100644 OfficeFlow/Models/Utils/Employee.cs create mode 100644 OfficeFlow/Pages/EmployeePages/CreateEmployeePage.xaml create mode 100644 OfficeFlow/Pages/EmployeePages/CreateEmployeePage.xaml.cs create mode 100644 OfficeFlow/Pages/EmployeePages/CreateUserPage.xaml create mode 100644 OfficeFlow/Pages/EmployeePages/CreateUserPage.xaml.cs create mode 100644 OfficeFlow/Pages/EmployeePages/LinkUserPage.xaml create mode 100644 OfficeFlow/Pages/EmployeePages/LinkUserPage.xaml.cs create mode 100644 OfficeFlow/Utils/Converters/CountConverter.cs create mode 100644 OfficeFlow/Utils/Converters/DateConverter.cs create mode 100644 OfficeFlow/Utils/Converters/NullToVisibilityConverter.cs diff --git a/OfficeFlow/App.xaml b/OfficeFlow/App.xaml index 5e82c02..d738a5c 100644 --- a/OfficeFlow/App.xaml +++ b/OfficeFlow/App.xaml @@ -2,9 +2,19 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:OfficeFlow" + xmlns:converters="clr-namespace:OfficeFlow.Utils.Converters" StartupUri="MainWindow.xaml"> + + + + + + + + +