From 4cca6af72fa2288f433a7c4d604f9639d3fbfc63 Mon Sep 17 00:00:00 2001 From: czw <selecti@yeah.net> Date: 星期三, 02 七月 2025 18:47:44 +0800 Subject: [PATCH] 1 --- 2025年6月12日/AuxAllWCS/Build/Project/界面/View1.xaml | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 103 insertions(+), 4 deletions(-) diff --git "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\347\225\214\351\235\242/View1.xaml" "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\347\225\214\351\235\242/View1.xaml" index 394c930..f10b380 100644 --- "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\347\225\214\351\235\242/View1.xaml" +++ "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\347\225\214\351\235\242/View1.xaml" @@ -1,5 +1,104 @@ -<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="640" Height="480" x:Class="GZ.Projects.AuxAllWCS.View1" xmlns:local="clr-namespace:GZ.Projects.AuxAllWCS"> - <Canvas> - <Label Width="86" Height="25" Canvas.Left="31" Canvas.Top="172" /> - </Canvas> +<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="640" Height="480" x:Class="GZ.Projects.AuxAllWCS.View1" xmlns:local="clr-namespace:GZ.Projects.AuxAllWCS" + xmlns:local1="clr-namespace:GZ.Projects.AuxAllWCS" + Title="鍝堝搱wcs" + > + <Grid> + <Grid> + <TabControl> + <TabControl.Resources> + <Style TargetType="TabItem"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="TabItem"> + <Border Name="Border" BorderThickness="1,1,1,0" BorderBrush="Gainsboro" CornerRadius="4,4,0,0" Margin="2,0"> + <ContentPresenter x:Name="ContentSite" + VerticalAlignment="Center" + HorizontalAlignment="Center" + ContentSource="Header" + Margin="10,2"/> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsSelected" Value="True"> + <Setter TargetName="Border" Property="Background" Value="LightSkyBlue" /> + </Trigger> + <Trigger Property="IsSelected" Value="False"> + <Setter TargetName="Border" Property="Background" Value="GhostWhite" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + </TabControl.Resources> + <TabItem> + <TabItem.Header> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="emmm" Foreground="Orange" /> + </StackPanel> + </TabItem.Header> + <TextBlock HorizontalAlignment="Center" FontFamily="Courier New" Text="
 +////////////////////////////////////////////////////////////////////
 +// _ooOoo_ //
 +// o8888888o //
 +// 88' 銆�'88 //
 +// (| ^_^ |) //
 +// O\ = /O //
 +// ____/`---'\____ //
 +// .' \\| |// `. //
 +// / \\||| : |||// \ //
 +// / _||||| -:- |||||- \ //
 +// | | \\\ - /// | | //
 +// | \_| ''\---/'' | | //
 +// \ .-\__ `-` ___/-. / //
 +// ___`. .' /--.--\ `. . ___ //
 +// .'' '銆奰.___\_銆妡銆媉/___.' 銆�''. //
 +// | | : `- \`.;`\ _ /`;.`/ - ` : | | //
 +// \ \ `-. \_ __\ /__ _/ .-` / / //
 +// ========`-.____`-.___\_____/___.-`____.-'======== //
 +// `=---=' //
 +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
 +// 浣涚淇濅綉 姘告棤BUG 姘镐笉淇敼 //
 +////////////////////////////////////////////////////////////////////" + TextWrapping="Wrap" /> + </TabItem> + <TabItem> + <TabItem.Header> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="WebView" Foreground="Purple" /> + </StackPanel> + </TabItem.Header> + </TabItem> + <!--<TabItem> + <TabItem.Header> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="AGV浠诲姟" Foreground="Black" /> + </StackPanel> + </TabItem.Header> + <Label Content="Content goes here..." /> + </TabItem> + <TabItem> + <TabItem.Header> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="澹充綋涓嬫枡" Foreground="Blue" /> + </StackPanel> + </TabItem.Header> + <Label Content="Content goes here..." /> + </TabItem> + <TabItem> + <TabItem.Header> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="鎬昏涓婃枡" Foreground="Red" /> + </StackPanel> + </TabItem.Header> + </TabItem> + <TabItem> + <TabItem.Header> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="鎵爜澶� Foreground="Green" /> + </StackPanel> + </TabItem.Header> + </TabItem>--> + </TabControl> + </Grid> + </Grid> </Window> \ No newline at end of file -- Gitblit v1.9.1