1+ <UserControl x : Class =" SimpleDnsCrypt.Views.ProxiesView"
2+ xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+ xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
4+ xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
5+ xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
6+ xmlns : lex =" http://wpflocalizeextension.codeplex.com"
7+ xmlns : iconPacks =" http://metro.mahapps.com/winfx/xaml/iconpacks"
8+ xmlns : mah =" http://metro.mahapps.com/winfx/xaml/controls"
9+ mc : Ignorable =" d"
10+ Height =" Auto" Width =" 400"
11+ lex:LocalizeDictionary.DesignCulture=" en"
12+ lex:ResxLocalizationProvider.DefaultAssembly=" SimpleDnsCrypt"
13+ lex:ResxLocalizationProvider.DefaultDictionary=" Translation" >
14+ <Grid Background =" #198AB328" >
15+ <Border BorderThickness =" 1" Grid.Row=" 0" Grid.Column=" 0" Background =" #198AB328" Margin =" 10"
16+ Padding =" 10" >
17+ <Border .BorderBrush>
18+ <DrawingBrush Viewport =" 0,0,8,8" ViewportUnits =" Absolute" TileMode =" Tile" Opacity =" 0.4" >
19+ <DrawingBrush .Drawing>
20+ <DrawingGroup >
21+ <GeometryDrawing Brush =" #FF8ab329" >
22+ <GeometryDrawing .Geometry>
23+ <GeometryGroup >
24+ <RectangleGeometry Rect =" 0,0,50,50" />
25+ <RectangleGeometry Rect =" 50,50,50,50" />
26+ </GeometryGroup >
27+ </GeometryDrawing .Geometry>
28+ </GeometryDrawing >
29+ </DrawingGroup >
30+ </DrawingBrush .Drawing>
31+ </DrawingBrush >
32+ </Border .BorderBrush>
33+ <StackPanel Orientation =" Vertical" >
34+ <StackPanel Orientation =" Horizontal" >
35+ <iconPacks : PackIconMaterial Height =" 20"
36+ Width =" 20" Kind =" AccountNetwork" Opacity =" 0.7"
37+ Foreground =" #FF8ab329"
38+ HorizontalAlignment =" Left"
39+ VerticalAlignment =" Center" />
40+ <TextBlock Text =" Proxies"
41+ TextWrapping =" Wrap" VerticalAlignment =" Center"
42+ Foreground =" #FF8ab329" FontSize =" 20"
43+ Opacity =" 0.7" Margin =" 5,0,0,3" FontWeight =" Bold" >
44+ </TextBlock >
45+ </StackPanel >
46+ <TextBlock Text =" HTTP/HTTPS proxy"
47+ TextWrapping =" Wrap" VerticalAlignment =" Center"
48+ Foreground =" #FF8ab329" FontSize =" 14"
49+ Opacity =" 0.7" Margin =" 5,8,0,3" FontWeight =" Bold" >
50+ </TextBlock >
51+ <TextBlock Text =" Only for DoH servers"
52+ TextWrapping =" Wrap" VerticalAlignment =" Center"
53+ Foreground =" #FF575757" Margin =" 5,0,0,3" >
54+ </TextBlock >
55+ <TextBox Margin =" 0,5,0,0" mah:TextBoxHelper.Watermark=" http://127.0.0.1:8888" Text =" {Binding HttpProxyInput}" mah:TextBoxHelper.ClearTextButton=" True" ></TextBox >
56+ <TextBlock Text =" SOCKS proxy"
57+ TextWrapping =" Wrap" VerticalAlignment =" Center"
58+ Foreground =" #FF8ab329" FontSize =" 14"
59+ Opacity =" 0.7" Margin =" 5,8,0,3" FontWeight =" Bold" >
60+ </TextBlock >
61+ <TextBlock Text =" You can route all TCP connections to a local Tor node. Tor doesn't support UDP, so you should enable Force TCP (Advanced Settings) as well."
62+ TextWrapping =" Wrap" VerticalAlignment =" Center"
63+ Foreground =" #FF575757" Margin =" 5,0,0,3" >
64+ </TextBlock >
65+ <TextBox Margin =" 0,5,0,0" mah:TextBoxHelper.Watermark=" socks5://127.0.0.1:9050" Text =" {Binding SocksProxyInput}" mah:TextBoxHelper.ClearTextButton=" True" ></TextBox >
66+ </StackPanel >
67+ </Border >
68+ </Grid >
69+ </UserControl >
0 commit comments