From 9d1660270272180cd71147d6ddd53d1382643d2e Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 18:00:14 +0800
Subject: [PATCH] merge: 并入远程 Initial commit 作为历史根节点
---
Plugin.TestPlanEditor/EditorUI.xaml | 81 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 81 insertions(+), 0 deletions(-)
diff --git a/Plugin.TestPlanEditor/EditorUI.xaml b/Plugin.TestPlanEditor/EditorUI.xaml
new file mode 100644
index 0000000..65e21cd
--- /dev/null
+++ b/Plugin.TestPlanEditor/EditorUI.xaml
@@ -0,0 +1,81 @@
+锘�<hb:SimpleMaskControl x:Class="Plugin.TestPlanEditor.EditorUI"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:local="clr-namespace:Plugin.TestPlanEditor"
+ mc:Ignorable="d"
+ xmlns:hb="clr-namespace:HMI.Base;assembly=HMI.Base"
+ xmlns:ote="clr-namespace:OpenTapEditor;assembly=SeqEditor"
+ xmlns:ui="clr-namespace:UILib;assembly=UILib"
+ xmlns:op="clr-namespace:OpenTap;assembly=OpenTap"
+ xmlns:sys="clr-namespace:System;assembly=mscorlib"
+ xmlns:pu="https://opensource.panuon.com/wpf-ui"
+ d:DesignHeight="450" d:DesignWidth="800">
+ <UserControl.Resources>
+ <ResourceDictionary>
+ <ResourceDictionary.MergedDictionaries>
+ <ResourceDictionary Source="/UILib;component/Styles.xaml"/>
+ <ResourceDictionary Source="/SeqEditor;component/UIStyle.xaml"/>
+ <pu:StyleDictionary Excludes="Menu,ListView,ToggleButton,ContextMenu,TabControl,CheckBox,TextBox,Button" />
+ </ResourceDictionary.MergedDictionaries>
+
+ <sys:Double x:Key="GlobalFontSize">14</sys:Double>
+ <ui:ReverseBoolConverter x:Key="ReverseBool"/>
+ <ObjectDataProvider x:Key="BreakConditionValues"
+ MethodName="GetValues"
+ ObjectType="{x:Type sys:Enum}">
+ <ObjectDataProvider.MethodParameters>
+ <x:Type TypeName="op:BreakCondition"/>
+ </ObjectDataProvider.MethodParameters>
+ </ObjectDataProvider>
+
+ <sys:Double x:Key="{x:Static SystemParameters.VerticalScrollBarWidthKey}">3</sys:Double>
+ <sys:Double x:Key="{x:Static SystemParameters.HorizontalScrollBarHeightKey}">3</sys:Double>
+
+ <Style TargetType="ScrollViewer">
+ <Style.Resources>
+ <Style TargetType="ScrollBar" BasedOn="{StaticResource ScrollStyle_Mobile}"/>
+ </Style.Resources>
+ </Style>
+
+ <Style TargetType="TabItem">
+ <Setter Property="Padding" Value="5"/>
+ <Setter Property="Background" Value="#f2f3f5"/>
+ <Setter Property="BorderThickness" Value="0"/>
+ <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
+ <Setter Property="FontSize" Value="10"/>
+ <Setter Property="Cursor" Value="Hand"/>
+ <Setter Property="Template">
+ <Setter.Value>
+ <ControlTemplate TargetType="TabItem">
+ <Border x:Name="border" Background="{TemplateBinding Background}"
+BorderBrush="{TemplateBinding BorderBrush}"
+BorderThickness="{TemplateBinding BorderThickness}"
+Padding="{TemplateBinding Padding}">
+ <ContentPresenter x:Name="contentPresenter"
+ ContentSource="Header"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"/>
+ </Border>
+ <ControlTemplate.Triggers>
+ <Trigger Property="IsMouseOver" Value="True">
+ <Setter TargetName="border" Property="Background" Value="#e0e9f2"/>
+ </Trigger>
+ <Trigger Property="IsSelected" Value="True">
+ <Setter TargetName="border" Property="Background" Value="#bcddee"/>
+ <Setter TargetName="border" Property="BorderThickness" Value="0,0,0,2"/>
+ <Setter TargetName="border" Property="BorderBrush" Value="#3498DB"/>
+ </Trigger>
+ </ControlTemplate.Triggers>
+ </ControlTemplate>
+ </Setter.Value>
+ </Setter>
+ </Style>
+ </ResourceDictionary>
+ </UserControl.Resources>
+
+ <Grid>
+ <ote:SeqEditorUI x:Name="editor"/>
+ </Grid>
+</hb:SimpleMaskControl>
--
Gitblit v1.9.1