private void button4_Click(object sender, EventArgs e) { MinhaConta minhaConta = new MinhaConta(); this.Hide(); minhaConta.Show(); }
private void button1_Click(object sender, EventArgs e) { int tipo = AutenticacaoCliente.pegarTipo(); if (tipo == 1 || tipo == 0) { this.Hide(); MinhaConta minhaConta = new MinhaConta(); minhaConta.Show(); } else { this.Hide(); FornecedorCliente fc = new FornecedorCliente(); fc.Show(); } }