-
Notifications
You must be signed in to change notification settings - Fork 1
/
MainWindow.xaml
61 lines (58 loc) · 2.94 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<Window x:Class="NormalKeyboardSwitcher.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:tb="http://www.hardcodet.net/taskbar"
xmlns:local="clr-namespace:NormalKeyboardSwitcher"
mc:Ignorable="d"
Title="Normal Keyboard Switcher"
Icon="Globe.ico"
ShowInTaskbar="False"
Height="221.617" Width="340.172">
<Grid>
<tb:TaskbarIcon IconSource="Globe.ico">
<tb:TaskbarIcon.ContextMenu>
<ContextMenu>
<MenuItem Name="OpenMenuItem" Click="OpenMenuItem_Click" Header="Open..." />
<MenuItem Name="ExitMenuItem" Click="ExitMenuItem_Click" Header="Exit" />
</ContextMenu>
</tb:TaskbarIcon.ContextMenu>
</tb:TaskbarIcon>
<TabControl Margin="10,10,9.667,10">
<TabItem Header="Config">
<Border Padding="10">
<StackPanel>
<GroupBox Header="Key combination">
<StackPanel>
<RadioButton GroupName="SwitchKeystrokeGroup" Content="Not Assigned" IsChecked="False" IsEnabled="False"/>
<RadioButton GroupName="SwitchKeystrokeGroup" Content="Ctrl + Shift" IsChecked="True"/>
<RadioButton GroupName="SwitchKeystrokeGroup" Content="Left Alt + Shift" IsChecked="False" IsEnabled="False"/>
</StackPanel>
</GroupBox>
<GroupBox Header="System settings">
<CheckBox Name="AutorunCheckBox" Checked="AutorunCheckBox_CheckedChanged" Unchecked="AutorunCheckBox_CheckedChanged" Content="Autorun"/>
</GroupBox>
</StackPanel>
</Border>
</TabItem>
<TabItem Header="Languages">
<Border Padding="10">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="30"/>
</Grid.RowDefinitions>
<ListBox Name="LanguagesListBox"/>
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,10,0,0">
<Button Content="Switch" Click="SwitchButton_Click"/>
</StackPanel>
</Grid>
</Border>
</TabItem>
</TabControl>
</Grid>
</Window>