-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
76 lines (69 loc) · 3.56 KB
/
MainWindow.xaml
File metadata and controls
76 lines (69 loc) · 3.56 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
<Window x:Class="Library_DB.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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:local="clr-namespace:Library_DB"
mc:Ignorable="d"
Title="Your Library" Icon="/Resources/Images/icon1.png" Background="{x:Null}"
Height="658" Width="425" WindowStartupLocation="CenterScreen" ResizeMode="CanMinimize">
<Grid Background="Transparent">
<Frame x:Name="Main" Grid.RowSpan="4" Width="Auto" Height="Auto" Grid.Row="0" NavigationUIVisibility="Hidden">
</Frame>
<!--Header-->
<Grid VerticalAlignment="Top" Height="50">
<!--Grid Design-->
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition Width="100"/>
</Grid.ColumnDefinitions>
<Border Width="250"
Grid.ColumnSpan="2"
VerticalAlignment="Bottom"
HorizontalAlignment="Left"
BorderBrush="White"
BorderThickness="1"
Margin="15,0,0,0" >
</Border>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" >
<Image Source="/Resources/Images/icon2.png"
Width="30" Height="30" Panel.ZIndex="1"
OpacityMask="Black"
Margin="15,10,5,5"/>
<TextBlock Grid.Row="0" Grid.Column ="0"
Text="Your Book Shelf" Foreground="White"
FontFamily="Century Gothic" FontWeight="Light"
FontSize="22"
VerticalAlignment="Bottom" Margin="0,0,0,8">
</TextBlock>
</StackPanel>
<!--Buttons-->
<StackPanel Grid.Column="1" Grid.Row="0">
<StackPanel Orientation="Horizontal" Margin="10,20,0,0" >
<!--Edit Button-->
<Button x:Name="editButton" Background="{x:Null}" BorderBrush="{x:Null}" Click="EditButton_Click" ToolTip="Edit book list" >
<materialDesign:PackIcon Kind="EditOutline" Width="20" Height="20" Background="{x:Null}" Foreground="White"/>
</Button>
<!--viewList Button-->
<Button Margin="5,0,5,0" Background="{x:Null}" BorderBrush="{x:Null}" Click="ListButton_Click" ToolTip="See available books" >
<materialDesign:PackIcon Kind="ListBox" Width="20" Height="20" Background="{x:Null}" Foreground="White"/>
</Button>
<!--Delet Button-->
<Button Background="{x:Null}" BorderBrush="{x:Null}" Click="SearchButton_Click" ToolTip="Search book" >
<materialDesign:PackIcon Kind="Search" Width="20" Height="20" Background="{x:Null}" Foreground="White"/>
</Button>
</StackPanel>
</StackPanel>
<!--Buttons-->
</Grid>
<!--Header-->
<!--Grid Design-->
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!--Grid Design-->
</Grid>
</Window>