From 85b4b39237d44d6d34a9488ea7a6c057a70a48e3 Mon Sep 17 00:00:00 2001 From: Ling0925 <2449858657a@gmail.com> Date: Tue, 21 May 2024 11:47:05 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E7=A8=8B=E5=BA=8F=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B5=E5=A2=9E=E5=8A=A0=E6=9D=83=E9=99=90=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MainWindow.xaml | 4 +- Model/{MKModel.cs => ModuleModel.cs} | 6 +-- Model/PermissonModel.cs | 40 +++----------- Model/RuleModel.cs | 2 +- Pages/ModelConfigPage.xaml | 78 ++++++++++++++------------- Pages/ModelConfigPage.xaml.cs | 56 +++++++++++++++---- Pages/PermissionConfigPage.xaml | 15 +++--- Pages/PermissionConfigPage.xaml.cs | 38 ++++++++++++- Util/DBHelper.Service.cs | 34 +++++++++++- ViewModel/MKConfigViewModel.cs | 40 ++++++++++---- ViewModel/PermissonConfigViewModel.cs | 5 ++ 11 files changed, 210 insertions(+), 108 deletions(-) rename Model/{MKModel.cs => ModuleModel.cs} (88%) diff --git a/MainWindow.xaml b/MainWindow.xaml index fd49a08..a8c7309 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -5,13 +5,13 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:CeramicProjectTool" mc:Ignorable="d" - Title="MainWindow" Height="450" Width="800" Loaded="Window_Loaded"> + Title="MainWindow" Height="500" Width="800" MinHeight="500" MinWidth="800" Loaded="Window_Loaded">