2024-03-07 21:04:59 +08:00
|
|
|
<UserControl x:Class="Zerolauncher.dialog.EditTeamControl"
|
|
|
|
|
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"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
d:DesignHeight="169" d:DesignWidth="290">
|
2024-03-18 22:59:51 +08:00
|
|
|
<DockPanel>
|
|
|
|
|
<TextBox Name="edit_name" Margin="60" DockPanel.Dock="Top" Height="20">
|
2024-03-07 21:04:59 +08:00
|
|
|
<TextBox.Resources>
|
|
|
|
|
<VisualBrush x:Key="HelpBrush" TileMode="None" Opacity="0.3" Stretch="None" AlignmentX="Left">
|
|
|
|
|
<VisualBrush.Visual>
|
|
|
|
|
<TextBlock FontStyle="Italic" Text="请输入队伍昵称" Foreground="#FFFFFDDD"/>
|
|
|
|
|
</VisualBrush.Visual>
|
|
|
|
|
</VisualBrush>
|
|
|
|
|
</TextBox.Resources>
|
|
|
|
|
<TextBox.Style>
|
|
|
|
|
<Style TargetType="TextBox">
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
<Trigger Property="Text" Value="{x:Null}">
|
|
|
|
|
<Setter Property="Background" Value="{StaticResource HelpBrush}"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
<Trigger Property="Text" Value="">
|
|
|
|
|
<Setter Property="Background" Value="{StaticResource HelpBrush}"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</TextBox.Style>
|
|
|
|
|
</TextBox>
|
2024-04-25 16:29:23 +08:00
|
|
|
<DockPanel Margin="7">
|
2024-03-07 21:04:59 +08:00
|
|
|
<Button DockPanel.Dock="Right" Background="Transparent" Click="Button_Click" BorderBrush="Transparent">
|
|
|
|
|
<Image Source="/res/25.png"/>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button x:Name="btn_del" DockPanel.Dock="Left" Background="Transparent" Click="Button_Click_1" BorderBrush="Transparent">
|
|
|
|
|
<Image Source="/res/del.png"/>
|
|
|
|
|
</Button>
|
|
|
|
|
<Label/>
|
|
|
|
|
</DockPanel>
|
2024-03-18 22:59:51 +08:00
|
|
|
</DockPanel>
|
2024-03-07 21:04:59 +08:00
|
|
|
</UserControl>
|