예제 #1
0
        private void ButtonProfessor_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form f = new FormProfessor();

            f.Closed += (s, args) => this.Close();
            f.Show();
        }
예제 #2
0
        private void ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form f = new FormProfessor();

            f.Closed += (s, args) => this.Close();
            f.Show();
        }
        }//Chamada das forms que irei usar neste script

        private void ButtonBackP3_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form f = new FormProfessor();

            f.Closed += (s, args) => this.Close();
            f.Show();
        }//Comando para botão voltar, voltar para form Professor