Esempio n. 1
0
 private void foFoMarketWatchToolStripMenuItem_Click(object sender, EventArgs e)
 {
     _fofomarket = new Fo_Fo_mktwatch();
     //_fofomarket.Width = this.Width - 100;
     //_fofomarket.Height = this.Height - 300;
     _fofomarket.MdiParent = this;
     UDP_Reciever.Instance.OnDataArrived    += _fofomarket.OnDataArrived;
     NNFHandler.eOrderTRADE_CONFIRMATION_TR += _fofomarket.TRADE_CONFIRMATION_TR;
     _fofomarket.Show();
 }
Esempio n. 2
0
        private void foFoMarketWatchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (_fofomarket == null)
            {
                _fofomarket = new Fo_Fo_mktwatch();
                //_fofomarket.Width = this.Width - 100;
                //_fofomarket.Height = this.Height - 300;

                UDP_Reciever.Instance.OnDataArrived += _fofomarket.OnDataArrived;
                NNFHandler.eOrderTRADE_CONFIRMATION_TR += _fofomarket.TRADE_CONFIRMATION_TR;
            }
                _fofomarket.MdiParent = this;
                _fofomarket.Show();
        }