//產生一個Log文件夾
string appPath = Application.StartupPath;
if (!Directory.Exists(appPath + "/log"))
{
Directory.CreateDirectory(appPath + "/log");
}
//產生一個Log文件夾
string appPath = Application.StartupPath;
if (!Directory.Exists(appPath + "/log"))
{
Directory.CreateDirectory(appPath + "/log");
}