-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInputDialog.xaml
30 lines (26 loc) · 1.23 KB
/
InputDialog.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
<Window x:Class="WinContextTweaker.InputDialog"
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:WinContextTweaker"
mc:Ignorable="d"
Title="Input" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen"
ContentRendered="Window_ContentRendered">
<Grid Margin="15">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="35" />
</Grid.RowDefinitions>
<Label x:Name="lblQuestion" Grid.Column="1" Grid.Row="0">Input:</Label>
<TextBox x:Name="txtAnswer" Grid.Column="1" Grid.Row="1" MinWidth="250"/>
<WrapPanel Grid.Row="2" Grid.ColumnSpan="2" VerticalAlignment="Bottom" HorizontalAlignment="Right">
<Button x:Name="btnDialogOk" IsDefault="True" Width="60" Click="Button_DialogOkClick">OK</Button>
<Button x:Name="btnDialogCancel" IsCancel="True" Width="60" Margin="10,0,0,0">Cancel</Button>
</WrapPanel>
</Grid>
</Window>