Exemplo n.º 1
0
        private void pictureBox4_Click(object sender, EventArgs e)
        {
            this.Hide();
            var addAttendance = new AddAttendance("4b", "", "");

            addAttendance.Closed += (s, args) => this.Close();
            addAttendance.Show();
        }
Exemplo n.º 2
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            this.Hide();
            var addAttendance = new AddAttendance(textBox1.Text, NbOfColumns, NbOfRows);

            addAttendance.Closed += (s, args) => this.Close();
            addAttendance.Show();
        }