예제 #1
0
        private void tsmiArbitrageInstrument_Click(object sender, EventArgs e)
        {
            ArbitrageQuoteChoiceForm form = new ArbitrageQuoteChoiceForm();

            form.ProductId = m_product;
            form.OnArbitrageCombineInstrumentListChanged += this.arbitrageQuoteListControl1.OnArbitrageCombineInstrumentList_Changed;
            //form.OnArbitrageCombineInstrumentAddChanged += this.arbitrageQuoteListControl1.OnArbitrageCombineInstrumentAdd_Changed;
            //form.OnArbitrageCombineInstrumentRemoveChanged += this.arbitrageQuoteListControl1.OnArbitrageCombineInstrumentRemove_Changed;
            form.ShowDialog();
        }
예제 #2
0
        /// <summary>
        /// 右键组合套利合约设置
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ArbitrageToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            m_form           = new ArbitrageQuoteChoiceForm();
            m_form.ProductId = m_product;
            m_form.OnArbitrageCombineInstrumentListChanged += OnArbitrageCombineInstrumentList_Changed;
            //m_form.OnArbitrageCombineInstrumentAddChanged += OnArbitrageCombineInstrumentAdd_Changed;
            //m_form.OnArbitrageCombineInstrumentRemoveChanged += OnArbitrageCombineInstrumentRemove_Changed;

            m_form.ShowDialog();
        }