개정판 171142c5
dev issue #000 : edit project
Change-Id: Ia4d519cb2e04ea953d2c03268a9230e6fe43b672
DTI_PID/SPPIDConverter_AutoModeling/ConverterForm.cs | ||
---|---|---|
15 | 15 |
using System.Globalization; |
16 | 16 |
using System.Threading; |
17 | 17 |
using System.IO; |
18 |
using Converter.SPPID.AutoModeling.Properties;
|
|
18 |
using Converter.AutoModeling.SPPID.Properties;
|
|
19 | 19 |
using Converter.SPPID.AutoModeling.DB; |
20 | 20 |
using Converter.SPPID.AutoModeling.Util; |
21 | 21 |
using Converter.SPPID.AutoModeling.Form; |
... | ... | |
27 | 27 |
private DataTable converterDT = new DataTable(); |
28 | 28 |
private RepositoryItemComboBox templateComboBox; |
29 | 29 |
|
30 |
ProjectInfo _ProjectInfo = ProjectInfo.GetInstance();
|
|
30 |
Project_Info _ProjectInfo = Project_Info.GetInstance();
|
|
31 | 31 |
SPPID_DBInfo _SPPIDInfo = SPPID_DBInfo.GetInstance(); |
32 | 32 |
|
33 | 33 |
public ConverterForm() |
... | ... | |
104 | 104 |
string dirPath = xtraFolderBrowserDialog.SelectedPath; |
105 | 105 |
if (IsID2Project(dirPath)) |
106 | 106 |
{ |
107 |
_ProjectInfo.Path = dirPath; |
|
107 |
_ProjectInfo.DefaultPath = dirPath;
|
|
108 | 108 |
_ProjectInfo.Enable = true; |
109 | 109 |
if (SPPIDUtil.SaveID2ProjectInfo()) |
110 | 110 |
{ |
... | ... | |
127 | 127 |
{ |
128 | 128 |
if (_ProjectInfo.Enable) |
129 | 129 |
{ |
130 |
btnID2Project.Text = _ProjectInfo.Path; |
|
130 |
btnID2Project.Text = _ProjectInfo.DefaultPath;
|
|
131 | 131 |
labelID2ProjectName.Text = _ProjectInfo.Name; |
132 | 132 |
labelID2ProjectName.AppearanceItemCaption.ForeColor = Color.Blue; |
133 | 133 |
labelID2ProjectStatus.Text = Msg.ConnectionSuccessful; |
... | ... | |
200 | 200 |
return; |
201 | 201 |
} |
202 | 202 |
|
203 |
xtraOpenFileDialog.InitialDirectory = _ProjectInfo.Path + @"\temp";
|
|
203 |
xtraOpenFileDialog.InitialDirectory = _ProjectInfo.TempDirPath;
|
|
204 | 204 |
if (xtraOpenFileDialog.ShowDialog() == DialogResult.OK) |
205 | 205 |
{ |
206 | 206 |
foreach (string fileName in xtraOpenFileDialog.FileNames) |
내보내기 Unified diff