| HMI.UI/MaskWindow.xaml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| HMI.UI/MaskWindow.xaml.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Plugin.TestResult/Scanner.xaml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
HMI.UI/MaskWindow.xaml
@@ -9,11 +9,16 @@ xmlns:pu="https://opensource.panuon.com/wpf-ui" pu:WindowXCaption.Buttons="None" pu:WindowXCaption.Height="0" ResizeMode="NoResize" SizeToContent="WidthAndHeight" Height="20" CanClose="False" WindowStyle="None" x:Name="self" WindowStartupLocation="CenterOwner"> <WindowChrome.WindowChrome> <WindowChrome GlassFrameThickness="-1"/> </WindowChrome.WindowChrome> <Window.Style> <Style TargetType="Window"> <Style.Triggers> @@ -23,7 +28,6 @@ </Style.Triggers> </Style> </Window.Style> <Grid> <Label x:Name="label" Margin="20" HMI.UI/MaskWindow.xaml.cs
@@ -42,6 +42,12 @@ private void MaskWindow_ContentRendered(object sender, EventArgs e) { //Dispatcher.InvokeAsync(new Action(() => //{ // 暂停线程令UI完全展示 // if (delay > 0) Thread.Sleep(delay); // action(this); //})); Task.Run(() => { // 暂停线程令UI完全展示 Plugin.TestResult/Scanner.xaml
@@ -6,9 +6,9 @@ xmlns:local="clr-namespace:Plugin.TestResult_WPF" WindowStartupLocation="CenterScreen" Closing="Window_Closing" FontSize="20" 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" @@ -17,7 +17,6 @@ xmlns:cc="clr-namespace:HMI.Core;assembly=HMI.Core" InteropOwnersMask="False" SizeToContent="Height" pu:WindowXModalDialog.Buttons="{x:Null}" Title="{Binding title}" Width="600"> <Window.Resources>