Exemplo n.º 1
0
        private void buttonModifyFuturesContract_Click(object sender, EventArgs e)
        {
            string contract_code;

            if (this.dataGridViewFuturesContract.CurrentRow == null)
            {
                contract_code = "";
            }
            else
            {
                contract_code = this.dataGridViewFuturesContract.CurrentRow.Cells["合约代码"].Value.ToString();
            }
            FormModifyFuturesContract form = new FormModifyFuturesContract(this.dataset, contract_code);

            form.Show();
        }
Exemplo n.º 2
0
 private void buttonModifyFuturesContract_Click(object sender, EventArgs e)
 {
     string contract_code;
     if (this.dataGridViewFuturesContract.CurrentRow == null) contract_code = "";
     else contract_code = this.dataGridViewFuturesContract.CurrentRow.Cells["合约代码"].Value.ToString();
     FormModifyFuturesContract form = new FormModifyFuturesContract(this.dataset, contract_code);
     form.Show();
 }