This repository has been archived by the owner on Dec 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMainWindow.xaml
67 lines (67 loc) · 2.12 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<Window
x:Class="OSharp.Animation.WPF.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:local="clr-namespace:OSharp.Animation.WPF"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="MainWindow"
Width="640"
Height="480"
Loaded="Window_Loaded"
mc:Ignorable="d">
<Grid Background="Black">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<!--<Image
Grid.RowSpan="2"
Grid.ColumnSpan="2"
Source="C:\Program Files (x86)\osu!\Songs\1241412 Ariabl'eyeS - Kegare naki Bara Juuji\p0.jpg"
Stretch="UniformToFill" />-->
<Border
Grid.Row="0"
Grid.Column="0"
Grid.ColumnSpan="2"
BorderBrush="Black"
BorderThickness="0,0,0,1"
Visibility="Hidden" />
<Border
Grid.Row="0"
Grid.RowSpan="2"
Grid.Column="0"
BorderBrush="Black"
BorderThickness="0,0,1,0"
Visibility="Hidden" />
<Viewbox
Grid.Row="0"
Grid.RowSpan="2"
Grid.Column="0"
Grid.ColumnSpan="2">
<Canvas
Width="854"
Height="480"
RenderOptions.BitmapScalingMode="HighQuality">
<Canvas
x:Name="MainCanvas"
Canvas.Left="107"
Width="640"
Height="480" />
</Canvas>
</Viewbox>
<Button
Grid.Row="1"
Grid.Column="0"
Margin="5"
Padding="20,5"
HorizontalAlignment="Left"
VerticalAlignment="Bottom"
Click="Button_Click"
Content="TEST" />
</Grid>
</Window>