-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
62 lines (61 loc) · 3.6 KB
/
MainWindow.xaml
File metadata and controls
62 lines (61 loc) · 3.6 KB
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
<Window x:Class="ScreenDraw.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title=""
Background="#12000000"
AllowsTransparency="True"
WindowStyle="None"
BorderThickness="3"
BorderBrush="Gray"
Loaded="Window_Loaded"
WindowState="Maximized"
ResizeMode="NoResize"
KeyDown="Window_KeyDown">
<Grid>
<TextBlock HorizontalAlignment="Center" VerticalAlignment="top"
FontSize="14" Foreground="White" Background="Black"
Opacity=".2" LineHeight="1" Padding="5,1,5,1" Name="txtMessages"
Visibility="Collapsed">
</TextBlock>
<WrapPanel Name="wpShoot" Background="White" Visibility="Hidden" />
<Canvas Name="canv" MouseDown="canv_MouseDown" MouseMove="canv_MouseMove">
<Canvas.Background>
<SolidColorBrush Color="Black" Opacity="0"/>
</Canvas.Background>
</Canvas>
<StackPanel Name="stakPControls" HorizontalAlignment="Right" VerticalAlignment="Top" Orientation="Vertical">
<Button Name="btnClose" Height="30" Width="60"
HorizontalAlignment="Right"
VerticalAlignment="Top" Background="LightGray"
Click="btnClose_Click">
Close
</Button>
<Button Name="btnSave" Height="30" Width="60"
HorizontalAlignment="Right"
VerticalAlignment="Top" Background="LightGray"
Click="btnSave_Click">
Save
</Button>
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Orientation="Horizontal">
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Orientation="Vertical">
<Button Name="a1" Height="30" Width="30" Background="#FF0000" Click="cp_ChangeColor"/>
<Button Name="a2" Height="30" Width="30" Background="#FF7000" Click="cp_ChangeColor"/>
<Button Name="a3" Height="30" Width="30" Background="#FFFF00" Click="cp_ChangeColor"/>
<Button Name="a4" Height="30" Width="30" Background="#7FFF00" Click="cp_ChangeColor"/>
<Button Name="a5" Height="30" Width="30" Background="#00FF00" Click="cp_ChangeColor"/>
<Button Name="a6" Height="30" Width="30" Background="#7FFF00" Click="cp_ChangeColor"/>
<Button Name="a7" Height="30" Width="30" Background="#FFFFFF" Click="cp_ChangeColor"/>
</StackPanel>
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Orientation="Vertical">
<Button Name="b1" Height="30" Width="30" Background="#00FFFF" Click="cp_ChangeColor"/>
<Button Name="b2" Height="30" Width="30" Background="#007FFF" Click="cp_ChangeColor"/>
<Button Name="b3" Height="30" Width="30" Background="#0000FF" Click="cp_ChangeColor"/>
<Button Name="b4" Height="30" Width="30" Background="#7F00FF" Click="cp_ChangeColor"/>
<Button Name="b5" Height="30" Width="30" Background="#FF00FF" Click="cp_ChangeColor"/>
<Button Name="b6" Height="30" Width="30" Background="#FF007F" Click="cp_ChangeColor"/>
<Button Name="b7" Height="30" Width="30" Background="#000000" Click="cp_ChangeColor"/>
</StackPanel>
</StackPanel>
</StackPanel>
</Grid>
</Window>