public frm_Main() { InitializeComponent(); GlobalValue.Initialize(); PolicyProgram.Load(); CheckDirectory(); inifile = new IniFile(string.Format("{0}\\{1}", Application.StartupPath, "setting.ini")); }
public frm_MainX() { InitializeComponent(); SiArray = new List <SecurityInfo>(); da = new DataMonitor(); this.rbt_stop.Enabled = false; GlobalValue.Initialize(); PolicyProgram.Load(); TradeSDK.Load(); CheckDirectory(); _dataQueue = new ConcurrentQueue <TickData>(); RunningST = new Dictionary <string, BaseTradeAPI>(); traders = new Dictionary <string, Trader>(); }
private void rbt_refreshmarket_Click(object sender, EventArgs e) { GlobalValue.Initialize(); }