2021-05-14 14:07:19 +03:00
|
|
|
<UserControl x:Class="ProxySuper.WPF.Controls.HostControl"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:local="clr-namespace:ProxySuper.WPF.Controls"
|
|
|
|
mc:Ignorable="d">
|
|
|
|
<Grid>
|
|
|
|
<GroupBox Padding="10" Header="Host">
|
|
|
|
<Grid>
|
2021-05-15 06:58:05 +03:00
|
|
|
<Grid.Resources >
|
|
|
|
<Style TargetType="Border" >
|
|
|
|
<Setter Property="Padding" Value="5,5,5,5" />
|
|
|
|
</Style>
|
|
|
|
</Grid.Resources>
|
2021-05-14 14:07:19 +03:00
|
|
|
<Grid.RowDefinitions>
|
2021-05-15 06:58:05 +03:00
|
|
|
<RowDefinition Height="36" />
|
|
|
|
<RowDefinition Height="36" />
|
|
|
|
<RowDefinition Height="36" />
|
|
|
|
<RowDefinition Height="36" />
|
|
|
|
<RowDefinition Height="36" />
|
2021-05-14 14:07:19 +03:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
2021-05-15 06:58:05 +03:00
|
|
|
<ColumnDefinition Width="80" />
|
2021-05-14 14:07:19 +03:00
|
|
|
<ColumnDefinition Width="auto" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
2021-05-15 06:58:05 +03:00
|
|
|
|
|
|
|
<Label Content="{DynamicResource HostTag}" Grid.Row="0" Grid.Column="0" />
|
2021-05-14 14:07:19 +03:00
|
|
|
<TextBox Grid.Row="0" Grid.Column="1"
|
2021-05-15 06:58:05 +03:00
|
|
|
Width="180"
|
|
|
|
Height="28"
|
|
|
|
Text="{Binding Host.Tag}"
|
|
|
|
VerticalContentAlignment="Center" />
|
|
|
|
|
|
|
|
|
|
|
|
<Label Content="{DynamicResource HostAddress}" Grid.Row="1" Grid.Column="0" />
|
|
|
|
<TextBox Grid.Row="1" Grid.Column="1"
|
|
|
|
Width="180"
|
|
|
|
Height="28"
|
2021-05-14 14:07:19 +03:00
|
|
|
Text="{Binding Host.Address}"
|
|
|
|
VerticalContentAlignment="Center" />
|
2021-05-15 06:58:05 +03:00
|
|
|
|
|
|
|
<Label Content="{DynamicResource HostUserName}" Grid.Row="2" Grid.Column="0" />
|
|
|
|
<TextBox Grid.Row="2" Grid.Column="1"
|
|
|
|
Width="180"
|
|
|
|
Height="28"
|
|
|
|
Text="{Binding Host.UserName}"
|
|
|
|
VerticalContentAlignment="Center" />
|
|
|
|
|
|
|
|
<Label Content="{DynamicResource HostPassword}" Grid.Row="3" Grid.Column="0" />
|
|
|
|
<TextBox Grid.Row="3" Grid.Column="1"
|
|
|
|
Width="180"
|
|
|
|
Height="28"
|
|
|
|
Text="{Binding Host.Password}"
|
|
|
|
VerticalContentAlignment="Center" />
|
2021-05-14 14:07:19 +03:00
|
|
|
</Grid>
|
|
|
|
</GroupBox>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|