コード例 #1
0
        //双击显示汇总详细信息
        private void dgv_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (dgv.CurrentCell == null)
                return;

            string m_user = dgv.CurrentRow.Cells[0].Value.ToString();
            string balance = dgv.CurrentRow.Cells[1].Value.ToString();
            var form = new CardSaleDetailsForm(m_user, balance, lastTime, thisTime);
            form.ShowDialog();
        }
コード例 #2
0
        //双击显示汇总详细信息
        private void dgv_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (dgv.CurrentCell == null)
            {
                return;
            }

            string m_user  = dgv.CurrentRow.Cells[0].Value.ToString();
            string balance = dgv.CurrentRow.Cells[1].Value.ToString();
            var    form    = new CardSaleDetailsForm(m_user, balance, lastTime, thisTime);

            form.ShowDialog();
        }