Exemple #1
0
        private void button_Voltar_Click(object sender, EventArgs e)
        {
            Telainicial telainicial = new Telainicial();

            this.Hide();
            telainicial.Show();
        }
Exemple #2
0
        private void Button1_Click(object sender, EventArgs e)
        {
            this.Close();
            Telainicial telainicial = new Telainicial();

            telainicial.Show();
        }
        private void Button_VoltarVenda_Click(object sender, EventArgs e)
        {
            Telainicial telainicial = new Telainicial();

            this.Close();
            telainicial.Show();
        }
        private void TxtNao_Click(object sender, EventArgs e)
        {
            Telainicial telainicial = new Telainicial();

            this.Hide();
            telainicial.Show();
        }
        private void BtnVoltar_Click(object sender, EventArgs e)
        {
            Telainicial telaInicio = new Telainicial();

            this.Hide();
            telaInicio.Show();
            radioButton_Consig.Checked = false;
            radioButton_Loja.Checked   = false;
        }
Exemple #6
0
        public void BtnEntrar_Click(object sender, EventArgs e)
        {
            string usuario  = "fors";
            string senhaofc = "admin";

            if (String.Equals(usuario, txtUser.Text) && String.Equals(senhaofc, txtPassword.Text))
            {
                xuiObjectAnimator1.FormAnimate(this, XanderUI.XUIObjectAnimator.FormAnimation.FadeOut, 10);
                Telainicial telainicial = new Telainicial();
                this.Hide();
                telainicial.Show();
            }
            else
            {
                MessageBox.Show("Usuário e/ou senha incorretos!!!");
                txtUser.Text     = "";
                txtPassword.Text = "";
                txtUser.Focus();
            }
        }