示例#1
0
        //
        //
        #endregion// members


        #region Constructors
        // *****************************************************************
        // ****                     Constructors                        ****
        // *****************************************************************
        public FormAddFills(Ambre.TTServices.Markets.MarketTTAPI priceHub, FillHub aFillHub)
        {
            InitializeComponent();
            Log       = aFillHub.Log;
            m_FillHub = aFillHub;
            m_Market  = priceHub;

            this.buttonDeleteBook.Text    = ButtonDeleteBook_Normal;        // set this to normal
            this.buttonDeleteBook.Enabled = false;                          // TODO: disable until i can work out the "dupe key" problems.
            #if (DEBUG)
            this.buttonDeleteBook.Enabled = false;
            #endif
        }
示例#2
0
        }//

        //
        //
        //
        //
        private void FormAddFills_FormClosing(object sender, FormClosingEventArgs e)
        {
            m_Market  = null;
            m_FillHub = null;
            Log       = null;
        }