private void onFuturesVerbosePositionCellDoubleClick(object sender, DataGridViewCellEventArgs e) { DataGridView table = (DataGridView)sender; FormPlaceOrder form = new FormPlaceOrder(this.dataset, "期货", table.Rows[e.RowIndex]); form.ShowDialog(); }
private void buttonPlaceOrder_Click(object sender, EventArgs e) { FormPlaceOrder form = new FormPlaceOrder(this.dataset); form.Show(); }