示例#1
0
        private void btnEntrarLogin_Click(object sender, EventArgs e)
        {
            frmMenuPrincipal menu = new frmMenuPrincipal();

            this.Hide();
            menu.Show();

            /*
             * Controle controle = new Controle();
             * controle.Acessar(txtUsuarioLogin.Text, txtSenhaLogin.Text);
             * if (controle.mensagem.Equals(""))
             *  if (controle.T)
             *  {
             *      MessageBox.Show("Usuario Logado com Sucesso", "Logado", MessageBoxButtons.OK, MessageBoxIcon.Information);
             *
             *
             *      frmMenuPrincipal menu = new frmMenuPrincipal();
             *      this.Hide();
             *      menu.Show();
             *  }
             *  else
             *  {
             *      MessageBox.Show("Usuario/Senha Invalidos", "Atenção", MessageBoxButtons.OK, MessageBoxIcon.Error);
             *  }
             * else
             * {
             *  MessageBox.Show(controle.mensagem);
             * }
             * }*/
        }
示例#2
0
        private void button1_Click(object sender, EventArgs e)
        {
            frmMenuPrincipal principal = new frmMenuPrincipal();

            principal.Show();

            this.Visible = false;
        }
示例#3
0
        private void BtnVoltarConsVend_Click(object sender, EventArgs e)
        {
            frmMenuPrincipal menu = new frmMenuPrincipal();

            menu.Show();

            this.Visible = false;
        }
示例#4
0
        private void btnVoltarPacotes_Click(object sender, EventArgs e)
        {
            frmMenuPrincipal principal = new frmMenuPrincipal();

            principal.Show();

            this.Visible = false;
        }