예제 #1
0
        //Add subject button clicked in dashboard
        private void button5_Click(object sender, EventArgs e)
        {
            AddSubject AddSubject = new AddSubject();

            AddSubject.Show();
            this.Hide();
        }
예제 #2
0
        private void btnAddSubject_Click(object sender, EventArgs e)
        {
            AddSubject frm = new AddSubject()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            this.pnlView.Controls.Add(frm);
            frm.Show();
        }