Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
Ftt_Common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Ftt_Common
Commits
5be9ae36
Commit
5be9ae36
authored
Oct 13, 2021
by
tr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、工具类:选择文件夹方法优化
parent
4938dcb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Tools.exe.config
AppHome/Tools.exe.config
+1
-1
Utils.cs
Tools/MyUtils/Utils.cs
+2
-2
No files found.
AppHome/Tools.exe.config
View file @
5be9ae36
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<
appSettings
>
<
appSettings
>
<
add
key
=
"LoginInfo"
value
=
"wwF/xpBzWek="
/>
<
add
key
=
"LoginInfo"
value
=
"wwF/xpBzWek="
/>
<
add
key
=
"LoginVerify"
value
=
"v86f5Q3Xa7U="
/>
<
add
key
=
"LoginVerify"
value
=
"v86f5Q3Xa7U="
/>
<
add
key
=
"UpdateTime"
value
=
"2021-10-1
2 13:45:01.513
"
/>
<
add
key
=
"UpdateTime"
value
=
"2021-10-1
3 10:13:09.320
"
/>
</
appSettings
>
</
appSettings
>
<
startup
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.8"
/>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.8"
/>
...
...
Tools/MyUtils/Utils.cs
View file @
5be9ae36
...
@@ -235,8 +235,8 @@ namespace Tools.MyUtils
...
@@ -235,8 +235,8 @@ namespace Tools.MyUtils
var
result
=
""
;
var
result
=
""
;
var
dlg
=
new
FolderBrowserDialog
()
var
dlg
=
new
FolderBrowserDialog
()
{
{
Description
=
"请选择
日志目录
"
,
Description
=
"请选择
一个文件夹
"
,
RootFolder
=
Environment
.
SpecialFolder
.
Desktop
,
RootFolder
=
Environment
.
SpecialFolder
.
MyComputer
,
ShowNewFolderButton
=
false
,
ShowNewFolderButton
=
false
,
};
};
if
(
dlg
.
ShowDialog
()
==
DialogResult
.
OK
)
if
(
dlg
.
ShowDialog
()
==
DialogResult
.
OK
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment