Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="battleships.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="MainWindow" Height="625" Width="525" ResizeMode="NoResize">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="1*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="1*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="100" />
- </Grid.RowDefinitions>
- <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"/>
- <Button Grid.Row="11" Grid.Column="0" BorderThickness="0" x:Name="startBtn" Click="startGame">Start</Button>
- <Button Grid.Column="0" Grid.Row="0" BorderThickness="0"></Button>
- <Button Grid.Column="1" BorderThickness="0">0</Button>
- <Button Grid.Column="2" BorderThickness="0">1</Button>
- <Button Grid.Column="3" BorderThickness="0">2</Button>
- <Button Grid.Column="4" BorderThickness="0">3</Button>
- <Button Grid.Column="5" BorderThickness="0">4</Button>
- <Button Grid.Column="6" BorderThickness="0">5</Button>
- <Button Grid.Column="7" BorderThickness="0">6</Button>
- <Button Grid.Column="8" BorderThickness="0">7</Button>
- <Button Grid.Column="9" BorderThickness="0">8</Button>
- <Button Grid.Column="10" BorderThickness="0">9</Button>
- <Button Grid.Row="1" BorderThickness="0">A</Button>
- <Button Grid.Row="2" BorderThickness="0">B</Button>
- <Button Grid.Row="3" BorderThickness="0">C</Button>
- <Button Grid.Row="4" BorderThickness="0">D</Button>
- <Button Grid.Row="5" BorderThickness="0">E</Button>
- <Button Grid.Row="6" BorderThickness="0">F</Button>
- <Button Grid.Row="7" BorderThickness="0">G</Button>
- <Button Grid.Row="8" BorderThickness="0">H</Button>
- <Button Grid.Row="9" BorderThickness="0">I</Button>
- <Button Grid.Row="10" BorderThickness="0">J</Button>
- <Button Grid.Row="1" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="2" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="3" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="4" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="5" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="6" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="7" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="8" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="9" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="10" Grid.Column="1" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="1" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="2" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="3" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="4" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="5" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="6" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="7" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="8" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="9" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="10" Grid.Column="2" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="1" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="2" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="3" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="4" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="5" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="6" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="7" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="8" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="9" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="10" Grid.Column="3" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="1" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="2" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="3" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="4" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="5" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="6" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="7" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="8" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="9" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="10" Grid.Column="4" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="1" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="2" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="3" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="4" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="5" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="6" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="7" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="8" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="9" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="10" Grid.Column="5" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="1" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="2" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="3" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="4" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="5" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="6" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="7" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="8" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="9" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="10" Grid.Column="6" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="1" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="2" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="3" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="4" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="5" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="6" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="7" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="8" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="9" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="10" Grid.Column="7" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="1" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="2" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="3" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="4" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="5" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="6" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="7" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="8" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="9" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="10" Grid.Column="8" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="1" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="2" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="3" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="4" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="5" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="6" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="7" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="8" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="9" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="10" Grid.Column="9" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="1" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="2" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="3" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="4" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="5" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="6" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="7" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="8" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="9" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
- <Button Grid.Row="10" Grid.Column="10" Background="Blue" BorderThickness="0"></Button>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment