示例#1
0
        private void HistoryArbitrageView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex < 0 || e.ColumnIndex < 0)
            {
                return;
            }

            ArbitrageOrderBookViewModel arbitrageOrderModel = this.gridArbitrage.Rows[e.RowIndex].DataBoundItem as ArbitrageOrderBookViewModel;
            USeArbitrageOrder           order = arbitrageOrderModel.ArbitrageOrder;

            ArbitrageOrderViewForm arbitrageOrderViewForm = new ArbitrageOrderViewForm(order);

            arbitrageOrderViewForm.ShowDialog();
        }
        private void tsmiClose_ArbitrageOrderView_Click(object sender, EventArgs e)
        {
            ArbitrageOrderViewForm form = new ArbitrageOrderViewForm(m_arbitrageOrder);

            form.Show(this);
        }