gempir

wpf battleships xaml

Apr 22nd, 2016
581
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 12.33 KB | None | 0 0
  1. <Window x:Class="battleships.MainWindow"
  2.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.         Title="MainWindow" Height="625" Width="525" ResizeMode="NoResize">
  5.     <Grid>
  6.         <Grid.ColumnDefinitions>
  7.             <ColumnDefinition Width="1*" />
  8.             <ColumnDefinition Width="1*" />
  9.             <ColumnDefinition Width="1*" />
  10.             <ColumnDefinition Width="1*" />
  11.             <ColumnDefinition Width="1*" />
  12.             <ColumnDefinition Width="1*" />
  13.             <ColumnDefinition Width="1*" />
  14.             <ColumnDefinition Width="1*" />
  15.             <ColumnDefinition Width="1*" />
  16.             <ColumnDefinition Width="1*" />
  17.             <ColumnDefinition Width="1*" />
  18.         </Grid.ColumnDefinitions>
  19.         <Grid.RowDefinitions>
  20.             <RowDefinition Height="1*" />
  21.             <RowDefinition Height="1*" />
  22.             <RowDefinition Height="1*" />
  23.             <RowDefinition Height="1*" />
  24.             <RowDefinition Height="1*" />
  25.             <RowDefinition Height="1*" />
  26.             <RowDefinition Height="1*" />
  27.             <RowDefinition Height="1*" />
  28.             <RowDefinition Height="1*" />
  29.             <RowDefinition Height="1*" />
  30.             <RowDefinition Height="1*" />
  31.             <RowDefinition Height="100" />
  32.         </Grid.RowDefinitions>
  33.         <TextBlock Grid.Row="11" Grid.Column="1" Grid.ColumnSpan="10" Grid.RowSpan="3" x:Name="maintext" Background="Black" Loaded="Output_Loaded" Text="" FontSize="18" Foreground="White" TextDecorations="{x:Null}" FontFamily="Arial" TextAlignment="Center"/>
  34.         <Button Grid.Row="11" Grid.Column="0" BorderThickness="0" x:Name="startBtn" Click="startGame">Start</Button>
  35.         <Button Grid.Column="0" Grid.Row="0" BorderThickness="0"></Button>
  36.        
  37.         <Button Grid.Column="1" BorderThickness="0">0</Button>
  38.         <Button Grid.Column="2" BorderThickness="0">1</Button>
  39.         <Button Grid.Column="3" BorderThickness="0">2</Button>
  40.         <Button Grid.Column="4" BorderThickness="0">3</Button>
  41.         <Button Grid.Column="5" BorderThickness="0">4</Button>
  42.         <Button Grid.Column="6" BorderThickness="0">5</Button>
  43.         <Button Grid.Column="7" BorderThickness="0">6</Button>
  44.         <Button Grid.Column="8" BorderThickness="0">7</Button>
  45.         <Button Grid.Column="9" BorderThickness="0">8</Button>
  46.         <Button Grid.Column="10" BorderThickness="0">9</Button>
  47.        
  48.         <Button Grid.Row="1" BorderThickness="0">A</Button>
  49.         <Button Grid.Row="2" BorderThickness="0">B</Button>
  50.         <Button Grid.Row="3" BorderThickness="0">C</Button>
  51.         <Button Grid.Row="4" BorderThickness="0">D</Button>
  52.         <Button Grid.Row="5" BorderThickness="0">E</Button>
  53.         <Button Grid.Row="6" BorderThickness="0">F</Button>
  54.         <Button Grid.Row="7" BorderThickness="0">G</Button>
  55.         <Button Grid.Row="8" BorderThickness="0">H</Button>
  56.         <Button Grid.Row="9" BorderThickness="0">I</Button>
  57.         <Button Grid.Row="10" BorderThickness="0">J</Button>
  58.  
  59.         <Button Grid.Row="1" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
  60.         <Button Grid.Row="2" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
  61.         <Button Grid.Row="3" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
  62.         <Button Grid.Row="4" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
  63.         <Button Grid.Row="5" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
  64.         <Button Grid.Row="6" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
  65.         <Button Grid.Row="7" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
  66.         <Button Grid.Row="8" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
  67.         <Button Grid.Row="9" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
  68.         <Button Grid.Row="10" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
  69.  
  70.         <Button Grid.Row="1" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
  71.         <Button Grid.Row="2" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
  72.         <Button Grid.Row="3" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
  73.         <Button Grid.Row="4" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
  74.         <Button Grid.Row="5" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
  75.         <Button Grid.Row="6" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
  76.         <Button Grid.Row="7" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
  77.         <Button Grid.Row="8" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
  78.         <Button Grid.Row="9" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
  79.         <Button Grid.Row="10" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
  80.        
  81.         <Button Grid.Row="1" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
  82.         <Button Grid.Row="2" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
  83.         <Button Grid.Row="3" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
  84.         <Button Grid.Row="4" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
  85.         <Button Grid.Row="5" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
  86.         <Button Grid.Row="6" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
  87.         <Button Grid.Row="7" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
  88.         <Button Grid.Row="8" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
  89.         <Button Grid.Row="9" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
  90.         <Button Grid.Row="10" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
  91.  
  92.         <Button Grid.Row="1" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
  93.         <Button Grid.Row="2" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
  94.         <Button Grid.Row="3" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
  95.         <Button Grid.Row="4" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
  96.         <Button Grid.Row="5" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
  97.         <Button Grid.Row="6" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
  98.         <Button Grid.Row="7" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
  99.         <Button Grid.Row="8" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
  100.         <Button Grid.Row="9" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
  101.         <Button Grid.Row="10" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
  102.        
  103.         <Button Grid.Row="1" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
  104.         <Button Grid.Row="2" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
  105.         <Button Grid.Row="3" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
  106.         <Button Grid.Row="4" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
  107.         <Button Grid.Row="5" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
  108.         <Button Grid.Row="6" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
  109.         <Button Grid.Row="7" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
  110.         <Button Grid.Row="8" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
  111.         <Button Grid.Row="9" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
  112.         <Button Grid.Row="10" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
  113.        
  114.         <Button Grid.Row="1" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
  115.         <Button Grid.Row="2" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
  116.         <Button Grid.Row="3" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
  117.         <Button Grid.Row="4" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
  118.         <Button Grid.Row="5" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
  119.         <Button Grid.Row="6" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
  120.         <Button Grid.Row="7" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
  121.         <Button Grid.Row="8" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
  122.         <Button Grid.Row="9" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
  123.         <Button Grid.Row="10" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
  124.  
  125.         <Button Grid.Row="1" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
  126.         <Button Grid.Row="2" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
  127.         <Button Grid.Row="3" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
  128.         <Button Grid.Row="4" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
  129.         <Button Grid.Row="5" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
  130.         <Button Grid.Row="6" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
  131.         <Button Grid.Row="7" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
  132.         <Button Grid.Row="8" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
  133.         <Button Grid.Row="9" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
  134.         <Button Grid.Row="10" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
  135.  
  136.         <Button Grid.Row="1" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
  137.         <Button Grid.Row="2" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
  138.         <Button Grid.Row="3" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
  139.         <Button Grid.Row="4" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
  140.         <Button Grid.Row="5" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
  141.         <Button Grid.Row="6" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
  142.         <Button Grid.Row="7" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
  143.         <Button Grid.Row="8" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
  144.         <Button Grid.Row="9" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
  145.         <Button Grid.Row="10" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
  146.  
  147.         <Button Grid.Row="1" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
  148.         <Button Grid.Row="2" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
  149.         <Button Grid.Row="3" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
  150.         <Button Grid.Row="4" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
  151.         <Button Grid.Row="5" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
  152.         <Button Grid.Row="6" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
  153.         <Button Grid.Row="7" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
  154.         <Button Grid.Row="8" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
  155.         <Button Grid.Row="9" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
  156.         <Button Grid.Row="10" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
  157.  
  158.         <Button Grid.Row="1" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
  159.         <Button Grid.Row="2" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
  160.         <Button Grid.Row="3" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
  161.         <Button Grid.Row="4" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
  162.         <Button Grid.Row="5" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
  163.         <Button Grid.Row="6" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
  164.         <Button Grid.Row="7" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
  165.         <Button Grid.Row="8" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
  166.         <Button Grid.Row="9" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
  167.         <Button Grid.Row="10" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
  168.     </Grid>
  169. </Window>
Advertisement
Add Comment
Please, Sign In to add comment