-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
41 lines (36 loc) · 1.87 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
<Window x:Class="CoffeeLPT.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:CoffeeLPT" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
Title="MainWindow" Height="300" Width="200">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid Row="0" >
<Button Width="80" Margin="20" Padding="0" Height="80" Name="CoffeeButton" Click="CoffeeButton_Click">
<Button.Content>
<StackPanel>
<TextBlock FontSize="20" TextAlignment="Center">GO! to</TextBlock>
<TextBlock Margin="0 10 0 0" TextAlignment="Center">CoffeeLPT</TextBlock>
</StackPanel>
</Button.Content>
</Button>
</Grid>
<Grid Row="1" >
<Button x:Name="ArduinoButton" Click="ArduinoButton_Click" Width="80" Margin="20" Padding="0" Height="80" Background="#0088cc" BorderBrush="#0088cc" BorderThickness="0"
Style="{StaticResource MaterialDesignFloatingActionDarkButton}" >
<Button.Content>
<StackPanel>
<TextBlock FontSize="20" TextAlignment="Center">GO! to</TextBlock>
<materialDesign:PackIcon HorizontalAlignment="Center" Foreground="White" Kind="Send" Width="25" Height="25" />
</StackPanel>
</Button.Content>
</Button>
</Grid>
</Grid>
</Window>