Пример #1
0
        private void button_Voltar_Click(object sender, EventArgs e)
        {
            Telainicial telainicial = new Telainicial();

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

            telainicial.Show();
        }
Пример #3
0
        private void Button_VoltarVenda_Click(object sender, EventArgs e)
        {
            Telainicial telainicial = new Telainicial();

            this.Close();
            telainicial.Show();
        }
Пример #4
0
        private void TxtNao_Click(object sender, EventArgs e)
        {
            Telainicial telainicial = new Telainicial();

            this.Hide();
            telainicial.Show();
        }
Пример #5
0
        private void BtnVoltar_Click(object sender, EventArgs e)
        {
            Telainicial telaInicio = new Telainicial();

            this.Hide();
            telaInicio.Show();
            radioButton_Consig.Checked = false;
            radioButton_Loja.Checked   = false;
        }
Пример #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();
            }
        }