-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMapButtonWindow.xaml
More file actions
32 lines (32 loc) · 2.06 KB
/
MapButtonWindow.xaml
File metadata and controls
32 lines (32 loc) · 2.06 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
<Window x:Class="MarvinsAIRA.MapButtonWindow"
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:MarvinsAIRA"
xmlns:ui="http://schemas.modernwpf.com/2019"
mc:Ignorable="d"
Title="Button Mapping"
Height="Auto"
Width="600"
SizeToContent="Height"
ResizeMode="NoResize"
Icon="/white-icon.ico"
WindowStartupLocation="CenterOwner"
Activated="Window_Activated"
Closing="Window_Closing"
ui:WindowHelper.UseModernWindowStyle="True">
<StackPanel Margin="10,10,10,20">
<Label FontSize="18" Content="Press any button on any controller to select it." HorizontalAlignment="Center" FontWeight="Bold" />
<Label FontSize="16" Content="If you want to map a button combo, press and release the hold button first," HorizontalAlignment="Center" FontStyle="Italic" FontWeight="Thin" />
<Label FontSize="16" Content="then press and release the click button second." HorizontalAlignment="Center" FontStyle="Italic" FontWeight="Thin" />
<Label x:Name="Button1NameLabel" FontSize="17" Content="" HorizontalAlignment="Center" Margin="0,10,0,0" />
<Label x:Name="PlusLabel" FontSize="17" Content="+" HorizontalAlignment="Center" Visibility="Collapsed"/>
<Label x:Name="Button2NameLabel" FontSize="17" Content="" HorizontalAlignment="Center"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,20,0,0">
<Button Content="Cancel" Margin="10,0,10,0" FontSize="18" Width="100" Click="CancelButton_Click" />
<Button Content="Clear" Margin="10,0,10,0" FontSize="18" Width="100" Click="ClearButton_Click" />
<Button Content="Update" Margin="10,0,10,0" FontSize="18" Width="100" Click="UpdateButton_Click" />
</StackPanel>
</StackPanel>
</Window>