private void buttonClientCashflow_Click(object sender, EventArgs e) { uint client_id; if (this.dataGridViewClientBalance.CurrentRow == null) { client_id = 0; } else { client_id = (uint)this.dataGridViewClientBalance.CurrentRow.Cells["客户编号"].Value; } FormClientCashFlow fccf = new FormClientCashFlow(this.dataset, client_id); fccf.ShowDialog(); }
private void buttonClientCashflow_Click(object sender, EventArgs e) { uint client_id; if (this.dataGridViewClientBalance.CurrentRow == null) client_id = 0; else client_id = (uint)this.dataGridViewClientBalance.CurrentRow.Cells["客户编号"].Value; FormClientCashFlow fccf = new FormClientCashFlow(this.dataset, client_id); fccf.ShowDialog(); }