public TradingInfo(CommonLab.SubscribeTypes _type, string _tradingpair, TradePair _tp) { t = new Ticker(); d = new Depth(); trade = new Trade(); type = _type; tradingpair = _tradingpair; tp = _tp; }
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(); } }