Exemple #1
0
 private void dgvDados_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     try
     {
         int            id   = Convert.ToInt32(dgvDados.Rows[e.RowIndex].Cells[0].Value.ToString());
         SaidaMovimento tela = new SaidaMovimento(id, est, config, usr, this);
         tela.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Escolha um movimento válido.", "RTPark", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemple #2
0
        private void btnSaida_Click(object sender, EventArgs e)
        {
            SaidaMovimento tela = new SaidaMovimento(0, est, config, usr, this);

            tela.ShowDialog();
        }