Example #1
0
        private void toolStripButton_Entrega_Click(object sender, EventArgs e)
        {
            EntregaVeiculo novo = new EntregaVeiculo(CodVeiculo, CodigoReserva);

            if (novo.ShowDialog() == DialogResult.OK)
            {
                MessageBox.Show("Devolução Realizada com sucesso!");
                this.Close();
            }
        }
Example #2
0
        private void toolStripButton_Entrega_Click(object sender, EventArgs e)
        {
            EntregaVeiculo novo = new EntregaVeiculo();

            novo.Show();
        }
Example #3
0
        private void toolStripButton_Entrega_Click(object sender, EventArgs e)
        {
            EntregaVeiculo novo = new EntregaVeiculo(CodVeiculo, CodigoReserva, this);

            novo.Show();
        }