mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-26 23:26:08 +03:00
73 lines
3.2 KiB
Plaintext
73 lines
3.2 KiB
Plaintext
|
<views:MvxWindow x:Class="ProxySuper.WPF.Views.MTProxyGo.MTProxyGoEditorView"
|
||
|
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:ProxySuper.WPF.Views.MTProxyGo"
|
||
|
xmlns:views="clr-namespace:MvvmCross.Platforms.Wpf.Views;assembly=MvvmCross.Platforms.Wpf"
|
||
|
xmlns:ctrl="clr-namespace:ProxySuper.WPF.Controls"
|
||
|
mc:Ignorable="d"
|
||
|
BorderThickness="0,1,0,0"
|
||
|
BorderBrush="#eee"
|
||
|
Icon="/Resources/ProxySU.ico"
|
||
|
WindowStartupLocation="CenterScreen"
|
||
|
Title="MTProxy-Go编辑配置" Height="600" Width="1000">
|
||
|
<Grid>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="310" />
|
||
|
<ColumnDefinition Width="1" />
|
||
|
<ColumnDefinition Width="*" />
|
||
|
</Grid.ColumnDefinitions>
|
||
|
|
||
|
<StackPanel Grid.Column="0" Margin="10">
|
||
|
<ctrl:HostControl />
|
||
|
</StackPanel>
|
||
|
<StackPanel Grid.Column="1" Background="#EEE"></StackPanel>
|
||
|
|
||
|
<StackPanel Grid.Column="2">
|
||
|
<Grid Margin="10">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="36" />
|
||
|
<RowDefinition Height="36" />
|
||
|
<RowDefinition Height="36" />
|
||
|
</Grid.RowDefinitions>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="120" />
|
||
|
<ColumnDefinition Width="200" />
|
||
|
</Grid.ColumnDefinitions>
|
||
|
|
||
|
<Label Content="{DynamicResource MTProxyDomain}" Grid.Row="0" Grid.Column="0" />
|
||
|
<TextBox Text="{Binding Settings.Domain}" Grid.Row="0" Grid.Column="1" />
|
||
|
|
||
|
<Label Content="{DynamicResource MTProxyPort}" Grid.Row="1" Grid.Column="0" />
|
||
|
<TextBox Text="{Binding Settings.Port}" Grid.Row="1" Grid.Column="1" />
|
||
|
|
||
|
<Label Content="{DynamicResource MTProxyCleartext}" Grid.Row="2" Grid.Column="0" />
|
||
|
<TextBox Text="{Binding Settings.Cleartext}" Grid.Row="2" Grid.Column="1" />
|
||
|
</Grid>
|
||
|
|
||
|
|
||
|
<Border Grid.Row="1"
|
||
|
BorderBrush="#eee"
|
||
|
BorderThickness="0,1,0,0">
|
||
|
<StackPanel Orientation="Horizontal"
|
||
|
Margin="0,20,0,0"
|
||
|
HorizontalAlignment="Right">
|
||
|
<Button Content="{DynamicResource Save}"
|
||
|
Command="{Binding SaveCommand}"
|
||
|
HorizontalAlignment="Right"
|
||
|
VerticalAlignment="Center"
|
||
|
Padding="10,5" />
|
||
|
|
||
|
<Button Content="{DynamicResource SaveAndInstall}"
|
||
|
Command="{Binding SaveAndInstallCommand}"
|
||
|
HorizontalAlignment="Right"
|
||
|
VerticalAlignment="Center"
|
||
|
Padding="10,5"
|
||
|
Margin="20,0,40,0" />
|
||
|
</StackPanel>
|
||
|
</Border>
|
||
|
</StackPanel>
|
||
|
</Grid>
|
||
|
</views:MvxWindow>
|