..
This commit is contained in:
@@ -6,6 +6,11 @@ using System.ComponentModel;
|
||||
|
||||
namespace Project
|
||||
{
|
||||
public enum eFormList
|
||||
{
|
||||
없음=0,
|
||||
NR구매관리,
|
||||
}
|
||||
public class Setting : arUtil.Setting
|
||||
{
|
||||
#region "log"
|
||||
@@ -14,6 +19,12 @@ namespace Project
|
||||
public Boolean Log_IO { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
[Description("시작 화면")]
|
||||
public eFormList startForm { get; set; }
|
||||
|
||||
[Description("중복으로 창을 열수 있습니다")]
|
||||
public Boolean DupWindow { get; set; }
|
||||
|
||||
[Description("Password for Setting")]
|
||||
[Browsable(false)]
|
||||
@@ -54,6 +65,21 @@ namespace Project
|
||||
if (Language.isEmpty()) Language = "Kor";
|
||||
if (Password_Setup.isEmpty()) Password_Setup = "0000";
|
||||
if (Password_User.isEmpty()) Password_User = "9999";
|
||||
|
||||
//시작폼가져오기
|
||||
var 시작품 = Xml.get_Data("startForm");
|
||||
var list = Enum.GetNames(typeof(eFormList));
|
||||
int idx = -1;
|
||||
for(int i = 0 ;i<list.Length;i++)
|
||||
{
|
||||
if(list[i] == 시작품)
|
||||
{
|
||||
idx = i;
|
||||
}
|
||||
}
|
||||
if (idx == -1) this.startForm = eFormList.없음;
|
||||
else this.startForm = (eFormList)idx;
|
||||
|
||||
}
|
||||
public override void AfterSave()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user