示例#1
0
        private void buttonModifyOptionsContract_Click(object sender, EventArgs e)
        {
            string contract_code;

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

            form.Show();
        }
示例#2
0
 private void buttonModifyOptionsContract_Click(object sender, EventArgs e)
 {
     string contract_code;
     if (this.dataGridViewOptionsContract.CurrentRow == null) contract_code = "";
     else contract_code = this.dataGridViewOptionsContract.CurrentRow.Cells["合约代码"].Value.ToString();
     FormModifyOptionsContract form = new FormModifyOptionsContract(this.dataset, contract_code);
     form.Show();
 }