| | |
| | | <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="640" Height="480"> |
| | | <Canvas> |
| | | <Label Width="86" Height="25" Canvas.Left="31" Canvas.Top="172" /> |
| | | <TextBlock Text="ååå" /> |
| | | </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"> |
| | | <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="Yellow" /> |
| | | </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="Rgvä»»å¡" Foreground="Purple" /> |
| | | </StackPanel> |
| | | </TabItem.Header> |
| | | <Label Content="Content goes here..." /> |
| | | </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> |