示例#1
0
        private void Editar_cd_FormClosing(object sender, FormClosingEventArgs e)
        {
            condcao = false;
            telaPrincipal tl_p = new telaPrincipal();

            tl_p.limpargrid();
        }
示例#2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Cla_login cls = new Cla_login();

            if (cls.Autenticar(tb_login.Text, tb_senha.Text) == true)
            {
                this.Close();
                telaPrincipal tl_p = new telaPrincipal();
                tl_p.Show();
            }
            else
            {
            }
        }