-
Notifications
You must be signed in to change notification settings - Fork 1
/
tlsWindow.axaml
27 lines (23 loc) · 1.27 KB
/
tlsWindow.axaml
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
<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="200" x:Class="ws.tlsWindow" Width="400" Height="200" Title="tlsWindow">
<Grid Margin="10" RowDefinitions="*,*,.5*" ColumnDefinitions="*,*">
<CheckBox Grid.RowSpan="2" x:Name="CHECK" Content="Don't check cert" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" VerticalContentAlignment="Center" Click="CheckBox_Click"/>
<StackPanel>
<Label>Directory of *.pfx</Label>
<Grid ColumnDefinitions="5*,*">
<TextBox x:Name="pfxDir"></TextBox>
<Button Content="…" Click="pfxDirFinder" Grid.Column="1"/>
</Grid>
</StackPanel>
<StackPanel Grid.Row="1">
<Label>Password</Label>
<Grid ColumnDefinitions="5*,*">
<TextBox x:Name="password"></TextBox>
<Button Content="…" Click="passwordFinder" Grid.Column="1"/>
</Grid>
</StackPanel>
<Grid Grid.Row="2" Grid.ColumnSpan="2" ColumnDefinitions="*,*">
<Button Content="Ok" Grid.Column="0" Click="okButton"/>
<Button Content="Cancel" Grid.Column="1" Click="cancelButton"/>
</Grid>
</Grid>
</Window>