public ServerRithmicMain() { InitializeComponent(); FormClosing += new FormClosingEventHandler(ServerRithmicMain_FormClosing); TradeLink.API.TLServer tls; if (Properties.Settings.Default.TLClientAddress == string.Empty) { tls = new TradeLink.Common.TLServer_WM(); } else tls = new TradeLink.Common.TLServer_IP(Properties.Settings.Default.TLClientAddress, Properties.Settings.Default.TLClientPort); sr = new ServerRithmic(tls, debug); sr.AdmPt = Properties.Settings.Default.sAdmCnnctPt; sr.TsConnectPt = Properties.Settings.Default.sTsCnnctPt; sr.MarketDataPt = Properties.Settings.Default.sMdCnnctPt; if ((user.Text!=string.Empty) && (pass.Text!=string.Empty)) go(); }
public ServerRithmicMain() { InitializeComponent(); FormClosing += new FormClosingEventHandler(ServerRithmicMain_FormClosing); TradeLink.API.TLServer tls; if (Properties.Settings.Default.TLClientAddress == string.Empty) { tls = new TradeLink.Common.TLServer_WM(); } else { tls = new TradeLink.Common.TLServer_IP(Properties.Settings.Default.TLClientAddress, Properties.Settings.Default.TLClientPort); } sr = new ServerRithmic(tls, debug); sr.AdmPt = Properties.Settings.Default.sAdmCnnctPt; sr.TsConnectPt = Properties.Settings.Default.sTsCnnctPt; sr.MarketDataPt = Properties.Settings.Default.sMdCnnctPt; if ((user.Text != string.Empty) && (pass.Text != string.Empty)) { go(); } }
internal admcallback(ServerRithmic srs) { sr = srs; }