Beispiel #1
0
        private void buttonFuturesCashflow_Click(object sender, EventArgs e)
        {
            uint futures_account_no;

            if (this.dataGridViewFuturesBlance.CurrentRow == null)
            {
                futures_account_no = 0;
            }
            else
            {
                futures_account_no = (uint)this.dataGridViewFuturesBlance.CurrentRow.Cells["期货账号"].Value;
            }
            FormFuturesAccountCashflow form = new FormFuturesAccountCashflow(this.dataset, futures_account_no);

            form.Show();
        }
Beispiel #2
0
 private void buttonFuturesCashflow_Click(object sender, EventArgs e)
 {
     uint futures_account_no;
     if (this.dataGridViewFuturesBlance.CurrentRow == null) futures_account_no = 0;
     else futures_account_no = (uint)this.dataGridViewFuturesBlance.CurrentRow.Cells["期货账号"].Value;
     FormFuturesAccountCashflow form = new FormFuturesAccountCashflow(this.dataset, futures_account_no);
     form.Show();
 }