Ejemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            cls_login cls = new cls_login();

            if (cls.Autenticar(textBox1.Text, textBox2.Text) == true)
            {
                Tela_Principal _telaPrincipal = new Tela_Principal();
                _telaPrincipal.Show();
                this.Hide();
            }

            else
            {
            }
        }
Ejemplo n.º 2
0
        private void Adc_Compromisso_FormClosing(object sender, FormClosingEventArgs e)
        {
            Tela_Principal tl_pri = new Tela_Principal();

            tl_pri.CarregarCompromissos();
        }