示例#1
0
        private void dgvFacturacion_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            Mesa mesa   = (Mesa)dgvFacturacion.CurrentRow.DataBoundItem;
            Form cargar = new frmDetalleFactura(mesa);

            cargar.Show();
        }
示例#2
0
 private void dgvFacturacion_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (dgvFacturacion.RowCount != 0)
     {
         Mesa mesa   = (Mesa)dgvFacturacion.CurrentRow.DataBoundItem;
         Form cargar = new frmDetalleFactura(mesa);
         cargar.Show();
     }
 }