Beispiel #1
0
        private void btnHome_Click(object sender, EventArgs e)
        {
            this.Hide();
            Home2 home = new Home2(PerfilUsuarioLogado);

            home.StartPosition = FormStartPosition.CenterScreen;
            home.ShowDialog();
        }
Beispiel #2
0
        private void btnVoltar_Click(object sender, EventArgs e)
        {
            Hide();
            Home2 home = new Home2(PerfilUsuarioLogado);

            //formMontarAgendaEvento.MdiParent = this;
            //formMontarAgendaEvento.ControlBox = false;

            home.StartPosition = FormStartPosition.CenterScreen;
            home.ShowDialog();
        }