Esempio n. 1
0
 public TradingInfo(CommonLab.SubscribeTypes _type, string _tradingpair, TradePair _tp)
 {
     t           = new Ticker();
     d           = new Depth();
     trade       = new Trade();
     type        = _type;
     tradingpair = _tradingpair;
     tp          = _tp;
 }
Esempio n. 2
0
 private void E_SubscribedEvent(object sender, CommonLab.SubscribeTypes st, CommonLab.TradePair tp)
 {
     if (comboBox1.InvokeRequired)
     {
         UpdateCombox uc = new UpdateCombox(UpdateComboxMethod);
         comboBox1.Invoke(uc);
     }
     else
     {
         UpdateComboxMethod();
     }
 }