Exemplo n.º 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);
     }
 }
Exemplo n.º 2
0
        public BuscaContratos(Form entr, Form said)
        {
            InitializeComponent();
            if (entr != null)
            {
                this.entr = (EntradaMovimento)entr;
            }

            if (said != null)
            {
                this.said = (SaidaMovimento)said;
            }
        }
Exemplo n.º 3
0
        private void btnSaida_Click(object sender, EventArgs e)
        {
            SaidaMovimento tela = new SaidaMovimento(0, est, config, usr, this);

            tela.ShowDialog();
        }