-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.axaml
More file actions
41 lines (36 loc) · 1.56 KB
/
MainWindow.axaml
File metadata and controls
41 lines (36 loc) · 1.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
<Window xmlns="https://github.com/avaloniaui"
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"
mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="350"
x:Class="UserInterface_V0_3.MainWindow"
Title="UserInterface_V0_3">
<StackPanel Spacing="10"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Button x:Name="OpenNotepadButton"
AutomationProperties.AutomationId="OpenNotepadButton"
Click="openNotepadClick"
Content="open notepad"
Width="150"
HorizontalContentAlignment="Center"/>
<Button x:Name="CloseNotepadButton"
AutomationProperties.AutomationId="CloseNotepadButton"
Click="closeNotepadClick"
Content="close notepad"
Width="150"
HorizontalContentAlignment="Center"/>
<Button x:Name="YesButton"
AutomationProperties.AutomationId="YesButton"
Click="yesClick"
Content="yes"
Width="150"
HorizontalContentAlignment="Center"/>
<Button x:Name="NoButton"
AutomationProperties.AutomationId="NoButton"
Click="noClick"
Content="no"
Width="150"
HorizontalContentAlignment="Center"/>
</StackPanel>
</Window>