SVN r777
SVN-Revision: r777
This commit is contained in:
@@ -256,12 +256,18 @@ namespace Lskj.Main.Control
|
||||
headMenuStrip.Items.Add(removeRightItem);
|
||||
tabMain.ContextMenuStrip = headMenuStrip;
|
||||
//设置文件存放路径 ()
|
||||
string DownloadFileDirectory = string.Format("{0}\\{1}", Application.StartupPath, "RightDownloadFile");
|
||||
if (Directory.Exists(DownloadFileDirectory))
|
||||
try
|
||||
{
|
||||
string DownloadFileDirectory = string.Format("{0}\\{1}", Application.StartupPath, "RightDownloadFile");
|
||||
if (Directory.Exists(DownloadFileDirectory))
|
||||
{
|
||||
Directory.Delete(DownloadFileDirectory, true);
|
||||
}
|
||||
Directory.CreateDirectory(DownloadFileDirectory);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
Directory.Delete(DownloadFileDirectory, true);
|
||||
}
|
||||
Directory.CreateDirectory(DownloadFileDirectory);
|
||||
//SystemInfo.Instance.IsCacheRun = true;
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user