<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>
|