pm 용 구매 업데이트 기능 추가

This commit is contained in:
chi
2023-10-15 21:00:04 +09:00
parent b6291f2bd0
commit bf4852d84b
39 changed files with 2115 additions and 1342 deletions

View File

@@ -529,42 +529,7 @@ namespace FPJ0000
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
if (tbPath.Text == "") tbPath.Text = "/" + tbIdx.Text;
if (tbPath.Text.StartsWith("\\") == false)
{
if (tbPath.Text.StartsWith("/")) tbPath.Text = tbPath.Text.Replace("/", "\\");
else tbPath.Text = "\\" + tbPath.Text;
}
var datapath = FCOMMON.DBM.getCodeSvalue("55", "01");
var serverpath = System.IO.Path.Combine("Data", "Project");
if (System.IO.Directory.Exists(serverpath) == false)
{
FCOMMON.Util.MsgE("프로젝트 기본경로가 존재하지 않아 진행할 수 없습니다\n\n" +
serverpath);
return;
}
var path = serverpath + tbPath.Text;
if (System.IO.Directory.Exists(path) == false)
{
try
{
System.IO.Directory.CreateDirectory(path);
string[] subdir = new string[] { "Source", "Document", "Draw", "Estimate" };
foreach (var dir in subdir)
System.IO.Directory.CreateDirectory(path + "\\" + dir);
}
catch (Exception eX)
{
FCOMMON.Util.MsgE("프로젝트 저장소 생성실패\n" + eX.Message);
return;
}
}
FCOMMON.Util.RunExplorer(path);
showfolder();
}
void SelectDate(TextBox ctl)
{