Delete ServerLauncher/MainWindow.xaml
This commit is contained in:
parent
2b6c8d58c8
commit
20d9dc34f3
1 changed files with 0 additions and 68 deletions
|
@ -1,68 +0,0 @@
|
||||||
<Window x:Class="ServerLauncher.MainWindow"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
xmlns:local="clr-namespace:ServerLauncher"
|
|
||||||
mc:Ignorable="d"
|
|
||||||
Title="TslGame Server Launcher"
|
|
||||||
Icon="pack://application:,,,/Resource/Image/MWIcon.ico"
|
|
||||||
Height="450"
|
|
||||||
Width="800"
|
|
||||||
WindowStartupLocation="CenterScreen"
|
|
||||||
ResizeMode="NoResize">
|
|
||||||
<Window.Background>
|
|
||||||
<ImageBrush ImageSource="pack://application:,,,/Resource/Image/TslGameServerBack1.jpg"/>
|
|
||||||
</Window.Background>
|
|
||||||
<Grid Margin="10,10,0,-5">
|
|
||||||
<!-- 定义行和列 -->
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto"/>
|
|
||||||
<RowDefinition Height="Auto"/>
|
|
||||||
<RowDefinition Height="45.96"/>
|
|
||||||
<RowDefinition Height="104.44"/>
|
|
||||||
<RowDefinition Height="Auto"/>
|
|
||||||
<RowDefinition Height="*"/>
|
|
||||||
<!-- 添加一个额外的行用于状态显示 -->
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto"/>
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
<!-- 添加一列用于状态文字 -->
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<!-- 按钮 -->
|
|
||||||
<Button Content="Start Server" FontFamily="Alimama FangYuanTi VF SemiBold" Background="Yellow" Padding="9,4" HorizontalAlignment="Center" Grid.Row="0" Margin="0,5,0,5" Click="Button_StartTSLServer_Click"/>
|
|
||||||
<Button Content="End Server" FontFamily="Alimama FangYuanTi VF SemiBold" Background="Yellow" Padding="9,4" HorizontalAlignment="Center" Grid.Row="1" Margin="0,1,0,9" Click="Button_KillTSLServer_Click"/>
|
|
||||||
<Button Content="Start Game" FontFamily="Alimama FangYuanTi VF SemiBold" Background="Yellow" Padding="9,4" HorizontalAlignment="Center" Grid.Row="2" Margin="0,23,0,103" Click="Button_Start_TslGame" Grid.RowSpan="2"/>
|
|
||||||
<Button Content="Exit" FontFamily="Alimama FangYuanTi VF SemiBold" Background="Yellow" Padding="9,0" HorizontalAlignment="Center" Grid.Row="3" Margin="0,6,0,71" Click="Button_Exit_Click" RenderTransformOrigin="0.368,0.386"/>
|
|
||||||
<!-- 状态文字 -->
|
|
||||||
<TextBlock x:Name="StatusText"
|
|
||||||
Text="Not running"
|
|
||||||
FontSize="20"
|
|
||||||
FontFamily="Alimama FangYuanTi VF SemiBold"
|
|
||||||
Foreground="Red"
|
|
||||||
Margin="178,23,-178,21"
|
|
||||||
Grid.Column="1" Grid.RowSpan="2"/>
|
|
||||||
<TextBlock Text="Server Status:"
|
|
||||||
Foreground="White"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
FontSize="20"
|
|
||||||
FontFamily="Alimama FangYuanTi VF SemiBold"
|
|
||||||
Margin="20,23,0,21" Grid.Column="1" Grid.RowSpan="2"/>
|
|
||||||
<Button Content="About US" FontFamily="Alimama FangYuanTi VF SemiBold" Background="Yellow" Padding="9,0" HorizontalAlignment="Center" Grid.Row="3" Margin="0,65,0,12" Click="Button_OpenNewWindow_Click" RenderTransformOrigin="0.368,0.386"/>
|
|
||||||
<TextBlock
|
|
||||||
Foreground="White"
|
|
||||||
FontSize="14"
|
|
||||||
FontFamily="Alimama FangYuanTi VF SemiBold"
|
|
||||||
Margin="120,164,0,0" Width="367" ScrollViewer.HorizontalScrollBarVisibility="Visible" Grid.Row="5" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Top" HorizontalAlignment="Left" Height="17" Grid.Column="1" Background="Black">
|
|
||||||
<TextBlock.RenderTransform>
|
|
||||||
<TransformGroup>
|
|
||||||
<ScaleTransform/>
|
|
||||||
<SkewTransform AngleX="0"/>
|
|
||||||
<RotateTransform/>
|
|
||||||
<TranslateTransform X="0"/>
|
|
||||||
</TransformGroup>
|
|
||||||
</TextBlock.RenderTransform><Run Text="Copyright © 2025 "/><Run Text=" DEV:"/><Run Text="Land "/><Run Language="zh-cn" Text="(Please do not sell!)"/></TextBlock>
|
|
||||||
</Grid>
|
|
||||||
</Window>
|
|
Loading…
Add table
Add a link
Reference in a new issue