From c401a2f2fd1a509cdeb33e850bb5c2827074af48 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 17 三月 2025 08:44:51 +0800
Subject: [PATCH] 完善框架,新增两个close方法;

---
 Plugin.TestResult/ChartWindow.xaml |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/Plugin.TestResult/ChartWindow.xaml b/Plugin.TestResult/ChartWindow.xaml
index e9e70fa..c8b123e 100644
--- a/Plugin.TestResult/ChartWindow.xaml
+++ b/Plugin.TestResult/ChartWindow.xaml
@@ -1,13 +1,23 @@
-锘�<Window x:Class="Plugin.TestResult_WPF.ChartWindow"
+锘�<pu:WindowX x:Class="Plugin.TestResult_WPF.ChartWindow"
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
         xmlns:local="clr-namespace:Plugin.TestResult_WPF"
         mc:Ignorable="d"
+        Style="{StaticResource ModalWindow}"
+        
+ xmlns:hb="clr-namespace:HMI.Base;assembly=HMI.Base"
+ xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI"
+ xmlns:pw="https://opensource.panuon.com/wpf"
+ xmlns:pu="https://opensource.panuon.com/wpf-ui"
+ xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
+ xmlns:cc="clr-namespace:HMI.Core;assembly=HMI.Core"
+            InteropOwnersMask="False"
+        pu:WindowXModalDialog.Buttons="{x:Null}"
         Unloaded="Window_Unloaded"
         Title="{Binding title}" Height="450" Width="800">
     <UniformGrid x:Name="mainGrid" Columns="1">
 
     </UniformGrid>
-</Window>
+</pu:WindowX>

--
Gitblit v1.9.1