-
Notifications
You must be signed in to change notification settings - Fork 3
/
Login.xaml
37 lines (35 loc) · 2 KB
/
Login.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
<Window x:Class="DesktopApp.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:DesktopApp"
mc:Ignorable="d"
Title="LogIn" Height="360" Width="600">
<Grid Background="#29363F" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border BorderBrush="#FF8B8B8B" BorderThickness="0 0 .3 0">
<Image Source="{DynamicResource Logo}" Margin="75">
<Image.Resources>
<BitmapImage x:Key="Logo" CreateOptions="IgnoreImageCache" CacheOption="OnLoad" UriSource="C:\Users\oussama\source\repos\DesktopApp\DesktopApp\Res\calculator.png"/>
</Image.Resources>
</Image>
</Border>
<StackPanel Grid.Column="1" VerticalAlignment="Center">
<TextBox x:Name="textBoxEmail" Margin="50 15 50 15" Height="30" Padding="5" Background="Transparent" BorderBrush="#11A1D5" Foreground="White"/>
<PasswordBox x:Name="passwordBox" Margin="50 0 50 15" Height="30" Padding="5" Background="Transparent" BorderBrush="#FF2597CE" Foreground="White"/>
<Button Margin="50 0 50 5" Content="Connect" Height="30" Background="#FF2597CE" Foreground="#fff" Click="Button_Click"/>
<Grid Margin="50 5 50 15">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock Text="Forgot password" Foreground="#FFA0A0A0"/>
<TextBlock Text="Create account" Grid.Column="1" TextAlignment="Right" Foreground="#FFA0A0A0"/>
</Grid>
</StackPanel>
</Grid>
</Window>