CANVAS WORKS
This commit is contained in:
51
Client/Views/GameWindow.xaml
Normal file
51
Client/Views/GameWindow.xaml
Normal file
@@ -0,0 +1,51 @@
|
||||
<Window x:Class="Client.Views.GameWindow"
|
||||
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:Client.Views"
|
||||
mc:Ignorable="d"
|
||||
Title="GameWindow" Height="600" Width="1200">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="50"/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="200"/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
|
||||
<Grid Grid.Column="0" Grid.Row="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Row="0" Content="{Binding Path=...}" FontSize="15"/>
|
||||
<Label Grid.Row="1" Content="{Binding Path=...}" FontSize="15"/>
|
||||
<Label Grid.Row="2" Content="{Binding Path=...}" FontSize="15"/>
|
||||
<Label Grid.Row="3" Content="{Binding Path=...}" FontSize="15"/>
|
||||
<Label Grid.Row="4" Content="{Binding Path=...}" FontSize="15"/>
|
||||
<Label Grid.Row="5" Content="{Binding Path=...}" FontSize="15"/>
|
||||
<Label Grid.Row="6" Content="{Binding Path=...}" FontSize="15"/>
|
||||
<Label Grid.Row="7" Content="{Binding Path=...}" FontSize="15"/>
|
||||
</Grid>
|
||||
|
||||
<Button Name="CanvasReset" Click="CanvasReset_Click" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Right" Width="100" Margin="10, 10, 10, 10" Content="RESET" />
|
||||
<Canvas Name="CanvasForPaint" Grid.Row="1" Grid.Column="1" MouseDown="CanvasForPaint_MouseDown" MouseMove="CanvasForPaint_MouseMove" Margin="10, 10, 10, 10">
|
||||
<Canvas.Background>
|
||||
<SolidColorBrush Color="White" Opacity="0"/>
|
||||
</Canvas.Background>
|
||||
</Canvas>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user