계좌 선택 기능 추가

This commit is contained in:
2016-12-20 09:16:28 +09:00
parent 034c061a1b
commit a93faf9eb5
7 changed files with 156 additions and 29 deletions

View File

@@ -77,5 +77,22 @@ namespace NewsCrawler
m_Data["buy-price"] = iPrice.ToString();
Save();
}
public static void SetAccount(string strAccount, string strAccountSub)
{
m_Data["account"] = strAccount;
m_Data["sub-account"] = strAccountSub;
Save();
}
public static string GetAccount()
{
return m_Data["account"];
}
public static string GetSubAccount()
{
return m_Data["sub-account"];
}
}
}