示例#1
0
        /// //////////////////////////////////////////////////////////////////////////////////////////////////////////   new ////////////////////////---------------------------------------------------------------------------------------------

        private void spreadWatchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fofospreadwatch _foSpread = new fofospreadwatch();

            _foSpread.Width     = this.Width - 50;
            _foSpread.Height    = this.Height - 200;
            _foSpread.MdiParent = this;
            //  UDP_Reciever.Instance.OnDataArrived += _foSpread.OnDataArrived;
            Trade_Tracker.Instance.DGV.DataSource = null;

            Trade_Tracker.Instance.DGV.DataSource           = Global.Instance.TradeTracker;
            LZO_NanoData.LzoNanoData.Instance.OnDataChange += _foSpread.OnDataArrived;
            NNFHandler.eOrderTRADE_CONFIRMATION_TR         += _foSpread.TRADE_CONFIRMATION_TR;
            _foSpread.FOR_Net_BOOK += frmNetBook.Instance.Test;
            _foSpread.Show();
            //  frmTradeBook.Instance.Show();
        }
示例#2
0
        private void spreadWatchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fofospreadwatch _foSpread = new fofospreadwatch();
            _foSpread.Width = this.Width - 50;
            _foSpread.Height = this.Height - 200;
            _foSpread.MdiParent = this;
            UDP_Reciever.Instance.OnDataArrived += _foSpread.OnDataArrived;
             //   NNFHandler.eOrderTRADE_CONFIRMATION_TR += _foSpread.TRADE_CONFIRMATION_TR;

            _foSpread.Show();
              //frmTradeBook.Instance.Show();
        }
        /// //////////////////////////////////////////////////////////////////////////////////////////////////////////   new ////////////////////////---------------------------------------------------------------------------------------------
        private void spreadWatchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fofospreadwatch _foSpread = new fofospreadwatch();
            _foSpread.Width = this.Width - 50;
            _foSpread.Height = this.Height - 200;
            _foSpread.MdiParent = this;
              //  UDP_Reciever.Instance.OnDataArrived += _foSpread.OnDataArrived;
              Trade_Tracker.Instance.DGV.DataSource = null;

              Trade_Tracker.Instance.DGV.DataSource = Global.Instance.TradeTracker;
            LZO_NanoData.LzoNanoData.Instance.OnDataChange += _foSpread.OnDataArrived;
            NNFHandler.eOrderTRADE_CONFIRMATION_TR += _foSpread.TRADE_CONFIRMATION_TR;
            _foSpread.FOR_Net_BOOK += frmNetBook.Instance.Test;
            _foSpread.Show();
              //  frmTradeBook.Instance.Show();
        }