logon.xaml

来自「经典游戏程序设计:visual c++ 上的杀人游戏源代码」· XAML 代码 · 共 23 行

XAML
23 行
字号
<Window x:Class="KillingClientUI.Logon"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Logon Killer Game" Height="330" Width="532" Background="Yellow" WindowStyle="ThreeDBorderWindow" Visibility="Visible">
	<Grid>
		<Grid Margin="10,10,26,8">
			<Label FontSize="21" Height="47" Margin="76,77,52,0" Name="label1" VerticalAlignment="Top" FontFamily="Ravie">Welcome To Killer Game</Label>
			<Label FontSize="11" Margin="8,127,0,121" Name="LogonNameLabel" HorizontalAlignment="Left" Width="195" FontFamily="Ravie">Please Enter Your Name:</Label>
			<Button Click="LogonButton_Click" MouseEnter="LogonButton_MouseEnter" MouseLeave="LogonButton_MouseLeave" FontSize="13" Margin="60,0,0,16" Name="LogonButton" Height="62" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="104" Background="Yellow" BorderBrush="Yellow">
				<Image Source="Pictures/Login.bmp" Width="98" Height="56" />
			</Button>
			<Button Click="CancelButton_Click" MouseEnter="CancelButton_MouseEnter" MouseLeave="CancelButton_MouseLeave" Margin="218,0,151,18" Name="CancelButton" Height="62" VerticalAlignment="Bottom" Background="Yellow" BorderBrush="Yellow">
				<Image Source="Pictures/Exit.bmp" Width="98" Height="73" />
			</Button>
			<TextBox Margin="222.5,129.547,100.5,122.453" Name="LogonName" KeyDown="LogonName_KeyDown" />
			<Image Name="imageTopofLogon" Source="/KillingClientUI;component/Pictures/top.gif" Height="77" VerticalAlignment="Top"  />
			<Image HorizontalAlignment="Right" Margin="0,127,-14,22" Name="imageRightofLogon" Width="109" Source="/KillingClientUI;component/Pictures/right.bmp" />
			<Label FontSize="11" Height="26" HorizontalAlignment="Left" Margin="8,0,0,88" Name="ServiceIPLabel" VerticalAlignment="Bottom" Width="195" FontFamily="Ravie">Please Enter Service IP:</Label>
			<TextBox Height="22" Margin="222.5,0,100.5,88" Name="ServiceIP" VerticalAlignment="Bottom" />
		</Grid>
	</Grid>
</Window>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?