Skip to content

Commit

Permalink
modify path setting
Browse files Browse the repository at this point in the history
  • Loading branch information
hiram3512 committed Jul 10, 2019
1 parent 86e88e2 commit 15e594e
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 3 deletions.
Binary file not shown.
Binary file modified HiProtobuf/HiProtobuf.Test/bin/Debug/HiProtobuf.Test.dll
Binary file not shown.
Binary file modified HiProtobuf/HiProtobuf.Test/bin/Debug/HiProtobuf.Test.pdb
Binary file not shown.
Binary file not shown.
Binary file modified HiProtobuf/HiProtobuf.Test/obj/Debug/HiProtobuf.Test.dll
Binary file not shown.
Binary file modified HiProtobuf/HiProtobuf.Test/obj/Debug/HiProtobuf.Test.pdb
Binary file not shown.
1 change: 1 addition & 0 deletions HiProtobuf/HiProtobuf.UI/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ internal static void Load()
Settings.Export_Folder = pathCfg.Export_Folder;
Settings.Excel_Folder = pathCfg.Excel_Folder;
Settings.Compiler_Path = pathCfg.Compiler_Path;
stream.Close();
}
}

Expand Down
6 changes: 3 additions & 3 deletions HiProtobuf/HiProtobuf.UI/HiProtobuf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ public partial class HiProtobuf : Form
public HiProtobuf()
{
InitializeComponent();
if (string.IsNullOrEmpty(Settings.Export_Folder)) textBox1.Text = Settings.Export_Folder;
if (string.IsNullOrEmpty(Settings.Excel_Folder)) textBox2.Text = Settings.Excel_Folder;
if (string.IsNullOrEmpty(Settings.Compiler_Path)) textBox5.Text = Settings.Compiler_Path;
if (!string.IsNullOrEmpty(Settings.Export_Folder)) textBox1.Text = Settings.Export_Folder;
if (!string.IsNullOrEmpty(Settings.Excel_Folder)) textBox2.Text = Settings.Excel_Folder;
if (!string.IsNullOrEmpty(Settings.Compiler_Path)) textBox5.Text = Settings.Compiler_Path;
}

private void Form1_Load(object sender, EventArgs e)
Expand Down
Binary file modified HiProtobuf/HiProtobuf.UI/bin/Debug/HiProtobuf.UI.exe
Binary file not shown.
Binary file modified HiProtobuf/HiProtobuf.UI/bin/Debug/HiProtobuf.UI.pdb
Binary file not shown.
Binary file not shown.
Binary file modified HiProtobuf/HiProtobuf.UI/obj/Debug/HiProtobuf.UI.exe
Binary file not shown.
Binary file modified HiProtobuf/HiProtobuf.UI/obj/Debug/HiProtobuf.UI.pdb
Binary file not shown.

0 comments on commit 15e594e

Please sign in to comment.