Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. <Window
  2. x:Name="SpaceInvaders"
  3. x:Class="SpaceInvaders.MainWindow"
  4. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:local="clr-namespace:SpaceInvaders"
  9. mc:Ignorable="d"
  10. Title="MainWindow"
  11. Height="657"
  12. Width="525"
  13. KeyDown="kDown"
  14. KeyUp="kUp"
  15. ResizeMode="NoResize"
  16. Icon="../Resources/ship.png">
  17. <Window.Background>
  18. <ImageBrush
  19. ImageSource="/WpfApplication2;component/Resources/background.gif" />
  20. </Window.Background>
  21. <Canvas
  22. x:Name="canvas">
  23. <Button
  24. x:Name="start_button"
  25. Content="CLICK HERE TO BEGIN"
  26. Height="56"
  27. Canvas.Left="10"
  28. Canvas.Top="218"
  29. Width="497"
  30. FontFamily="OCR A Std"
  31. FontSize="36"
  32. Click="NewGameClick"
  33. Background="{x:Null}"
  34. Foreground="#FF3AE814"
  35. BorderBrush="{x:Null}"
  36. Opacity="0" />
  37. <TextBox
  38. x:Name="kills"
  39. Height="37"
  40. Canvas.Left="449"
  41. TextWrapping="Wrap"
  42. Text="0"
  43. Width="70"
  44. Visibility="Hidden"
  45. Background="{x:Null}"
  46. BorderBrush="{x:Null}"
  47. Foreground="#FF3AE814"
  48. SelectionBrush="{x:Null}"
  49. IsEnabled="False"
  50. FontFamily="OCR A Extended"
  51. FontSize="24" />
  52. <TextBox
  53. x:Name="Credits"
  54. Height="88"
  55. Canvas.Left="165"
  56. TextWrapping="Wrap"
  57. Canvas.Top="530"
  58. Width="199"
  59. RenderTransformOrigin="0.5,0.5"
  60. Foreground="#FF03B223"
  61. Background="{x:Null}"
  62. FontFamily="OCR A Extended"
  63. FontSize="16"
  64. BorderBrush="{x:Null}"
  65. SelectionBrush="{x:Null}"
  66. BorderThickness="1"
  67. Cursor="No"
  68. Focusable="False"
  69. IsHitTestVisible="False"
  70. IsTabStop="False"></TextBox>
  71. <TextBlock
  72. x:Name="paused"
  73. Height="45"
  74. Canvas.Left="165"
  75. TextWrapping="Wrap"
  76. Text="PAUSED"
  77. Canvas.Top="279"
  78. Width="178"
  79. Foreground="#FF12EC26"
  80. FontFamily="OCR A Extended"
  81. FontSize="48"
  82. Visibility="Hidden" />
  83. <TextBlock
  84. x:Name="paused2"
  85. Canvas.Left="151"
  86. TextWrapping="Wrap"
  87. Text="Press P to continue"
  88. Canvas.Top="329"
  89. Height="21"
  90. Width="213"
  91. Foreground="#FF12EC26"
  92. FontFamily="OCR A Extended"
  93. FontSize="18"
  94. Visibility="Hidden" />
  95. <TextBox
  96. x:Name="startButtonText"
  97. Height="56"
  98. Canvas.Left="22"
  99. TextWrapping="Wrap"
  100. Text="CLICK HERE TO START"
  101. Canvas.Top="223"
  102. Width="497"
  103. Background="{x:Null}"
  104. BorderBrush="{x:Null}"
  105. Foreground="#FF1CE407"
  106. SelectionBrush="#FF29EC15"
  107. BorderThickness="1"
  108. FontFamily="OCR A Extended"
  109. FontSize="40"
  110. AllowDrop="False"
  111. IsHitTestVisible="False"
  112. IsTabStop="False" />
  113. </Canvas>
  114. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement