private void cmdCadastrarVeiculo_Click(object sender, EventArgs e) { FrmVeiculo car = new FrmVeiculo(); car.ShowDialog(); cmbPlaca.DataSource = veiculo.ListarVeiculo().Tables[0]; cmbCliente.DataSource = veiculo.ListarVeiculoporCliente().Tables[0]; }
private void veiculoToolStripMenuItem_Click(object sender, EventArgs e) { FrmVeiculo car = new FrmVeiculo(); car.ShowDialog(); }
private void cmdVeiculos_Click(object sender, EventArgs e) { FrmVeiculo car = new FrmVeiculo(); car.ShowDialog(); }