-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
19 lines (18 loc) · 1.32 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<Window x:Class="WindowOnTop.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:WindowOnTop"
mc:Ignorable="d"
Title="Always On Top" Height="117.012" Width="272.041" Icon="Properties/ontop.ico" PreviewKeyDown="Window_PreviewKeyDown" ResizeMode="CanMinimize" WindowState="Minimized">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Label x:Name="textBox" Height="33" VerticalAlignment="Top" Margin="0,10,61,0"/>
<Button x:Name="btnDeactivate" Content="Deactivate" Margin="90,0,0,10" Click="btnDeactivate_Click" IsEnabled="False" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="75"/>
<Button x:Name="btnActivate" Content="Activate" HorizontalAlignment="Left" Margin="10,0,0,10" Width="75" Click="btnActivate_Click" Height="20" VerticalAlignment="Bottom"/>
<Button x:Name="btnSetHotkey" Content="Save" Margin="0,17,10,0" VerticalAlignment="Top" Click="btnSetHotkey_Click" HorizontalAlignment="Right" Width="46"/>
</Grid>
</Window>