Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window
- x:Name="SpaceInvaders"
- x:Class="SpaceInvaders.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:SpaceInvaders"
- mc:Ignorable="d"
- Title="MainWindow"
- Height="657"
- Width="525"
- KeyDown="kDown"
- KeyUp="kUp"
- ResizeMode="NoResize"
- Icon="../Resources/ship.png">
- <Window.Background>
- <ImageBrush
- ImageSource="/WpfApplication2;component/Resources/background.gif" />
- </Window.Background>
- <Canvas
- x:Name="canvas">
- <Button
- x:Name="start_button"
- Content="CLICK HERE TO BEGIN"
- Height="56"
- Canvas.Left="10"
- Canvas.Top="218"
- Width="497"
- FontFamily="OCR A Std"
- FontSize="36"
- Click="NewGameClick"
- Background="{x:Null}"
- Foreground="#FF3AE814"
- BorderBrush="{x:Null}"
- Opacity="0" />
- <TextBox
- x:Name="kills"
- Height="37"
- Canvas.Left="449"
- TextWrapping="Wrap"
- Text="0"
- Width="70"
- Visibility="Hidden"
- Background="{x:Null}"
- BorderBrush="{x:Null}"
- Foreground="#FF3AE814"
- SelectionBrush="{x:Null}"
- IsEnabled="False"
- FontFamily="OCR A Extended"
- FontSize="24" />
- <TextBox
- x:Name="Credits"
- Height="88"
- Canvas.Left="165"
- TextWrapping="Wrap"
- Canvas.Top="530"
- Width="199"
- RenderTransformOrigin="0.5,0.5"
- Foreground="#FF03B223"
- Background="{x:Null}"
- FontFamily="OCR A Extended"
- FontSize="16"
- BorderBrush="{x:Null}"
- SelectionBrush="{x:Null}"
- BorderThickness="1"
- Cursor="No"
- Focusable="False"
- IsHitTestVisible="False"
- IsTabStop="False"></TextBox>
- <TextBlock
- x:Name="paused"
- Height="45"
- Canvas.Left="165"
- TextWrapping="Wrap"
- Text="PAUSED"
- Canvas.Top="279"
- Width="178"
- Foreground="#FF12EC26"
- FontFamily="OCR A Extended"
- FontSize="48"
- Visibility="Hidden" />
- <TextBlock
- x:Name="paused2"
- Canvas.Left="151"
- TextWrapping="Wrap"
- Text="Press P to continue"
- Canvas.Top="329"
- Height="21"
- Width="213"
- Foreground="#FF12EC26"
- FontFamily="OCR A Extended"
- FontSize="18"
- Visibility="Hidden" />
- <TextBox
- x:Name="startButtonText"
- Height="56"
- Canvas.Left="22"
- TextWrapping="Wrap"
- Text="CLICK HERE TO START"
- Canvas.Top="223"
- Width="497"
- Background="{x:Null}"
- BorderBrush="{x:Null}"
- Foreground="#FF1CE407"
- SelectionBrush="#FF29EC15"
- BorderThickness="1"
- FontFamily="OCR A Extended"
- FontSize="40"
- AllowDrop="False"
- IsHitTestVisible="False"
- IsTabStop="False" />
- </Canvas>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement