2021-05-15 11:45:36 +03:00
|
|
|
|
<UserControl x:Class="ProxySuper.WPF.Controls.XraySettingsControl"
|
|
|
|
|
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"
|
|
|
|
|
xmlns:convert="clr-namespace:ProxySuper.Core.Converters;assembly=ProxySuper.Core"
|
|
|
|
|
mc:Ignorable="d">
|
|
|
|
|
|
|
|
|
|
<UserControl.Resources>
|
|
|
|
|
<convert:VisibleConverter x:Key="VisibleConverter" />
|
|
|
|
|
</UserControl.Resources>
|
2021-06-29 11:08:45 +03:00
|
|
|
|
|
2021-05-15 11:45:36 +03:00
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
<StackPanel Width="220">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--XTLS-->
|
|
|
|
|
<CheckBox Margin="0,10,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
VerticalContentAlignment="Center"
|
2021-05-16 04:12:47 +03:00
|
|
|
|
IsChecked="{Binding Path=Checked_VLESS_TCP_XTLS}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VlessXtlsDesc}" FontSize="13" Foreground="LimeGreen" />
|
|
|
|
|
</CheckBox>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--TCP-->
|
|
|
|
|
<CheckBox Margin="0,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
IsChecked="{Binding Path=Checked_VLESS_TCP}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VlessTcpDesc}" FontSize="13" Foreground="LimeGreen" />
|
|
|
|
|
</CheckBox>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--WebSocket-->
|
|
|
|
|
<CheckBox Margin="0,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
IsChecked="{Binding Path=Checked_VLESS_WS}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VlessWsDesc}" FontSize="13" Foreground="LimeGreen" />
|
|
|
|
|
</CheckBox>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--mKCP-->
|
|
|
|
|
<CheckBox Margin="0,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
Foreground="LimeGreen"
|
|
|
|
|
IsChecked="{Binding Path=Checked_VLESS_KCP}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VlessKcpDesc}" FontSize="13" Foreground="LimeGreen" />
|
|
|
|
|
</CheckBox>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 12:43:48 +03:00
|
|
|
|
<!--gRPC-->
|
|
|
|
|
<CheckBox Margin="0,15,0,0"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
Foreground="LimeGreen"
|
|
|
|
|
IsChecked="{Binding Path=Checked_VLESS_gRPC}">
|
|
|
|
|
<Label Content="VLESS gRPC
基于http2,多路复用。" FontSize="13" Foreground="LimeGreen" />
|
|
|
|
|
</CheckBox>
|
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--TCP-->
|
|
|
|
|
<!--<CheckBox Content="VMESS over TCP with TLS
不推荐"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Margin="0,15,0,0"
|
|
|
|
|
FontSize="13"
|
|
|
|
|
Style="{StaticResource MahApps.Styles.CheckBox}"
|
|
|
|
|
IsChecked="{Binding Path=Checked_VMESS_TCP}" />-->
|
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--WebSocket-->
|
|
|
|
|
<CheckBox Margin="0,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
IsChecked="{Binding Path=Checked_VMESS_WS}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VmessWsDesc}" FontSize="13" Foreground="Blue" />
|
|
|
|
|
</CheckBox>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--mKCP-->
|
|
|
|
|
<CheckBox Margin="0,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
IsChecked="{Binding Path=Checked_VMESS_KCP}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Foreground="Blue" FontSize="13" Content="{DynamicResource VmessKcpDesc}" />
|
|
|
|
|
</CheckBox>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--ss-->
|
|
|
|
|
<CheckBox Margin="0,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
IsChecked="{Binding Path=CheckedShadowSocks}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource SSDesc}" FontSize="13" Foreground="Fuchsia" />
|
|
|
|
|
</CheckBox>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--Trojan-->
|
|
|
|
|
<CheckBox Margin="0,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Foreground="CadetBlue"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
IsChecked="{Binding Path=Checked_Trojan_TCP}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource TrojanDesc}" FontSize="13" Foreground="CadetBlue" />
|
|
|
|
|
</CheckBox>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
|
|
|
|
<!--************************** 参数 **************************-->
|
|
|
|
|
|
2021-05-16 04:12:47 +03:00
|
|
|
|
<StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--Domain-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource XrayDomain}" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=Domain}" Width="200" />
|
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--Mask Domain-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource XrayMarkDomain}" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=MaskDomain}" Width="200" />
|
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--UUID-->
|
|
|
|
|
<StackPanel Margin="30,10,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource XrayUUID}" Width="120" />
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<TextBox Text="{Binding Path=UUID}"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Width="200" />
|
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Button Margin="5,0,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Padding="12,3"
|
|
|
|
|
Command="{Binding Path=RandomUuid}"
|
|
|
|
|
Content="{DynamicResource Random}" />
|
2021-06-29 11:08:45 +03:00
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--WebSocket Path-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_VLESS_WS,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VlessWsPath}" Foreground="LimeGreen" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=VLESS_WS_Path}"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Width="200" />
|
2021-06-29 11:08:45 +03:00
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--seed-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_VLESS_KCP,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VlessKcpSeed}" Foreground="LimeGreen" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=VLESS_KCP_Seed}" Width="200" />
|
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--kcp type-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_VLESS_KCP,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}" Orientation="Horizontal">
|
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VlessKcpType}" Foreground="LimeGreen" Width="120" />
|
|
|
|
|
<ComboBox Width="200"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
ItemsSource="{Binding Path=KcpTypes}"
|
|
|
|
|
SelectedValue="{Binding VLESS_KCP_Type,Mode=TwoWay}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
</ComboBox>
|
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--kcp port-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_VLESS_KCP,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}"
|
|
|
|
|
Orientation="Horizontal">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VlessKcpPort}" Width="120" Foreground="LimeGreen" />
|
|
|
|
|
<TextBox Text="{Binding Path=VLESS_KCP_Port}" Width="200" />
|
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--gRPC Port-->
|
2021-06-29 12:43:48 +03:00
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_VLESS_gRPC,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
2021-06-29 12:43:48 +03:00
|
|
|
|
<Label Content="{DynamicResource VlessRPCPort}" Width="120" Foreground="LimeGreen" />
|
|
|
|
|
<TextBox Text="{Binding Path=VLESS_gRPC_Port}" Width="200" />
|
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 12:43:48 +03:00
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_VLESS_gRPC,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
|
|
|
|
<Label Content="{DynamicResource VlessRPCName}" Width="120" Foreground="LimeGreen" />
|
|
|
|
|
<TextBox Text="{Binding Path=VLESS_gRPC_ServiceName}" Width="200" />
|
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 12:43:48 +03:00
|
|
|
|
<!--Tcp Path
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_VMESS_TCP,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
|
|
|
|
<Label Content="VMESS WS路径" Foreground="Blue" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=VMESS_TCP_Path}"
|
|
|
|
|
VerticalAlignment="Bottom"
|
|
|
|
|
Width="200" />
|
|
|
|
|
</StackPanel>-->
|
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--WebSocket Path-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_VMESS_WS,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VmessWsPath}" Foreground="Blue" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=VMESS_WS_Path}"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
VerticalAlignment="Bottom"
|
|
|
|
|
Width="200" />
|
2021-06-29 11:08:45 +03:00
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--seed-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_VMESS_KCP,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VmessKcpSeed}" Foreground="Blue" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=VMESS_KCP_Seed}" Width="200" />
|
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--kcp type-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_VMESS_KCP,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VmessKcpType}" Foreground="Blue" Width="120" VerticalAlignment="Bottom"/>
|
|
|
|
|
<ComboBox Width="200"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
VerticalAlignment="Bottom"
|
|
|
|
|
ItemsSource="{Binding Path=KcpTypes}"
|
|
|
|
|
SelectedValue="{Binding VMESS_KCP_Type,Mode=TwoWay}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
</ComboBox>
|
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--kcp port-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_VMESS_KCP,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource VmessKcpPort}" Foreground="Blue" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=VMESS_KCP_Port}" Width="200" />
|
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--ss密码-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=CheckedShadowSocks,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource SSPassword}" Foreground="Fuchsia" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=ShadowSocksPassword}"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Width="200"/>
|
2021-06-29 11:08:45 +03:00
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--ss加密方式-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=CheckedShadowSocks,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource SSMethods}" Foreground="Fuchsia" Width="120" />
|
|
|
|
|
<ComboBox Width="200"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
ItemsSource="{Binding ShadowSocksMethods}"
|
|
|
|
|
SelectedValue="{Binding ShadowSocksMethod}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
</ComboBox>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<!--ss端口-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=CheckedShadowSocks,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
|
|
|
|
<Label Content="{DynamicResource SSPort}" Foreground="Fuchsia" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=ShadowSocksPort}" Width="200"/>
|
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--Trojan密码-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_Trojan_TCP,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource TrojanPassword}" Foreground="CadetBlue" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=TrojanPassword}"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Width="200" />
|
2021-06-29 11:08:45 +03:00
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<!--Trojan端口-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Visibility="{
|
|
|
|
|
Binding Path=Checked_Trojan_TCP,
|
|
|
|
|
Converter={StaticResource VisibleConverter}
|
|
|
|
|
}">
|
|
|
|
|
<Label Content="{DynamicResource TrojanPassword}" Foreground="CadetBlue" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=TrojanPassword}" Width="200" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<!--xray prot-->
|
|
|
|
|
<StackPanel Margin="30,15,0,0"
|
2021-05-15 11:45:36 +03:00
|
|
|
|
Orientation="Horizontal">
|
2021-06-29 11:08:45 +03:00
|
|
|
|
<Label Content="{DynamicResource XrayPort}" Foreground="Gray" Width="120" />
|
|
|
|
|
<TextBox Text="{Binding Path=Port}" Width="120" />
|
|
|
|
|
<Label Content="{DynamicResource XrayPortDefault}" Foreground="Red" />
|
2021-05-15 11:45:36 +03:00
|
|
|
|
</StackPanel>
|
2021-06-29 11:08:45 +03:00
|
|
|
|
</StackPanel>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
</StackPanel>
|
2021-06-29 11:08:45 +03:00
|
|
|
|
|
2021-05-15 11:45:36 +03:00
|
|
|
|
</UserControl>
|