Exemplo n.º 1
0
 private void btnLogin_Click(object sender, EventArgs e)
 {
     Task.Run(() =>
     {
         try
         {
             ExchangeManager.InitExchanges((List <string>) this._appConfig.exchanges);
             this.ShowLog("所有交易接口初始化完毕!");
         }
         catch (Exception ex)
         {
             this.ShowLog("初始化交易接口失败: " + ex.GetBaseException().Message);
         }
     });
 }