예제 #1
0
        private void BtnVincularVeiculo_Click(object sender, EventArgs e)
        {
            Vincular_ClienteCarro vincularClienteCarro = new Vincular_ClienteCarro();

            vincularClienteCarro.id_cliente = this.cliente._idCliente;
            vincularClienteCarro.Show();
            this.Hide();
        }
예제 #2
0
 private void BtnCadastrarVincular_Click(object sender, EventArgs e)
 {
     if (this.cadastraCliente() == 0)
     {
         Vincular_ClienteCarro vincularClienteCarro = new Vincular_ClienteCarro();
         vincularClienteCarro.cpf_cliente = this.cliente._cpfCliente;
         vincularClienteCarro.Show();
         this.Hide();
     }
 }