-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
136 lines (132 loc) · 5.58 KB
/
Copy pathMainWindow.xaml
File metadata and controls
136 lines (132 loc) · 5.58 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<Window x:Class="DigitalLibrary.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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DigitalLibrary"
mc:Ignorable="d"
Title="ספרייה דיגיטלית"
Height="290"
MaxHeight="290"
MinHeight="290"
Width="405"
MaxWidth="405"
MinWidth="405"
WindowStartupLocation="CenterScreen"
FlowDirection="RightToLeft"
WindowStyle="None"
FontFamily="Georgia Pro Black"
Visibility="Visible"
MouseDown="Window_MouseDown" Icon="digitallibrarylogo_sKD_icon.ico">
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Views/Resources/HoverTransparent.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<Window.Background>
<LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
<LinearGradientBrush.RelativeTransform>
<TransformGroup>
<ScaleTransform CenterY="0.5" CenterX="0.5"/>
<SkewTransform CenterY="0.5" CenterX="0.5"/>
<RotateTransform Angle="84" CenterY="0.5" CenterX="0.5"/>
<TranslateTransform/>
</TransformGroup>
</LinearGradientBrush.RelativeTransform>
<GradientStop Color="#FF5EAEFF" Offset="0.463"/>
<GradientStop Color="#FFFFCC8F" Offset="0.54"/>
</LinearGradientBrush>
</Window.Background>
<Border BorderBrush="Black" BorderThickness="5">
<Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="auto"/>
</Grid.RowDefinitions>
<StackPanel Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button
x:Name="BTN_Books"
Content="ספרים"
Background="Transparent"
FontSize="40"
Style="{StaticResource ResourceKey=HoverTransparent}"
Click="BTN_Books_Click"/>
<Button
x:Name="BTN_BooksImg"
Click="BTN_Books_Click"
Style="{StaticResource ResourceKey=HoverTransparent}">
<Button.Template>
<ControlTemplate>
<Image Source="Resources/Images/book_manimalist.png"
Height="150"/>
</ControlTemplate>
</Button.Template>
</Button>
</StackPanel>
<StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button
x:Name="BTN_Students"
Content="תלמידים"
Background="Transparent"
FontSize="40"
Style="{StaticResource ResourceKey=HoverTransparent}"
Click="BTN_Students_Click"/>
<Button
x:Name="BTN_StudentsImg"
Click="BTN_Students_Click"
Style="{StaticResource ResourceKey=HoverTransparent}">
<Button.Template>
<ControlTemplate>
<Image Source="Resources/Images/student_manimalist.png"
Height="150"/>
</ControlTemplate>
</Button.Template>
</Button>
</StackPanel>
<Button
Grid.Row="1"
x:Name="BTN_Exit"
Click="BTN_Exit_Click"
VerticalAlignment="Bottom"
HorizontalAlignment="Right"
Style="{StaticResource ResourceKey=HoverTransparent}" Grid.Column="1">
<Button.Template>
<ControlTemplate>
<Image
Source="Resources/Images/exit_icon.png"
Height="35"
Width="35"/>
</ControlTemplate>
</Button.Template>
</Button>
<Button
Grid.Row="1"
x:Name="BTN_Settings"
Click="BTN_Settings_Click"
VerticalAlignment="Bottom"
HorizontalAlignment="Left"
Style="{StaticResource ResourceKey=HoverTransparent}" Grid.Column="0">
<Button.Template>
<ControlTemplate>
<Image
Source="Resources/Images/settings_icon.png"
Height="35"
Width="35"/>
</ControlTemplate>
</Button.Template>
</Button>
</Grid>
<Label
Content="BETA Version 1.0 © Yuval Peretz"
VerticalAlignment="Bottom"
HorizontalAlignment="Center"/>
</Grid>
</Border>
</Window>