Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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();
            }
        }
Ejemplo n.º 3
0
 internal admcallback(ServerRithmic srs)
 {
     sr = srs;
 }
Ejemplo n.º 4
0
 internal admcallback(ServerRithmic srs)
 {
     sr = srs;
 }