-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNavItemSetting.xaml
More file actions
126 lines (123 loc) · 5.64 KB
/
NavItemSetting.xaml
File metadata and controls
126 lines (123 loc) · 5.64 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?xml version="1.0" encoding="utf-8"?>
<Page
x:Class="LocalDrop.NavItemSetting"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:LocalDrop"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
<StackPanel VerticalAlignment="Center"
HorizontalAlignment="Center">
<StackPanel Orientation="Horizontal"
Spacing="10"
VerticalAlignment="Center">
<TextBlock Text="默认保存路径:"
VerticalAlignment="Center"
FontSize="16"/>
<TextBox x:Name="SavePathTextBox"
Width="300"
Height="30"
Text=""/>
<Button Content="浏览..."
Width="80"
Height="30"
Click="BrowseFolderButton_Click"/>
</StackPanel>
<StackPanel Orientation="Horizontal"
Spacing="10"
VerticalAlignment="Center">
<TextBlock Text="端口:"
VerticalAlignment="Center"
FontSize="16"/>
<TextBox x:Name="SocketTextBox"
Width="300"
Height="30"
Text=""/>
<Button Content="保存"
Width="80"
Height="30"
Click="SocketButton_Click"/>
</StackPanel>
<StackPanel Orientation="Horizontal"
Spacing="10"
VerticalAlignment="Center"
Margin="0,15,0,0">
<TextBlock Text="关闭时最小化到托盘:"
VerticalAlignment="Center"
FontSize="16"/>
<CheckBox x:Name="MinimizeToTrayToggle"
Checked="MinimizeToTrayToggle_Checked"
Unchecked="MinimizeToTrayToggle_Unchecked"
Margin="10,0,0,0"/>
</StackPanel>
<StackPanel Orientation="Horizontal"
Spacing="10"
VerticalAlignment="Center"
Margin="0,15,0,0">
<TextBlock Text="开机自启(需要以管理员模式启动):"
VerticalAlignment="Center"
FontSize="16"/>
<CheckBox x:Name="cb_start_open"
Checked="cb_start_open_Checked"
Unchecked="cb_start_open_Unchecked"
Margin="10,0,0,0"/>
</StackPanel>
<!--<StackPanel Orientation="Horizontal"
Spacing="10"
VerticalAlignment="Center"
Margin="0,15,0,0">
<TextBlock Text="开机静默自启:"
VerticalAlignment="Center"
FontSize="16"/>
<CheckBox x:Name="cb_start_open_quiet"
Checked="cb_start_open_quiet_Checked"
Unchecked="cb_start_open_quiet_Unchecked"
Margin="10,0,0,0"/>
</StackPanel>-->
<StackPanel Orientation="Horizontal"
Spacing="15">
<!-- GitHub 按钮 -->
<Button Content="GitHub 主页"
Width="200"
Height="40"
Background="#24292E"
Foreground="White"
FontSize="16"
FontWeight="SemiBold"
Click="GitHubButton_Click">
<Button.Template>
<ControlTemplate TargetType="Button">
<Border Background="{TemplateBinding Background}"
CornerRadius="5">
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Border>
</ControlTemplate>
</Button.Template>
</Button>
<!-- 哔哩哔哩 按钮 -->
<Button Content="哔哩哔哩 主页"
Width="200"
Height="40"
Background="#00A1D6"
Foreground="White"
FontSize="16"
FontWeight="SemiBold"
Click="BilibiliButton_Click">
<Button.Template>
<ControlTemplate TargetType="Button">
<Border Background="{TemplateBinding Background}"
CornerRadius="5">
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Border>
</ControlTemplate>
</Button.Template>
</Button>
</StackPanel>
</StackPanel>
</Grid>
</Page>