コード例 #1
0
ファイル: Layout.cs プロジェクト: aqsazahid879/ProjectB
        private void lnkClassAttendance_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            ClassAttendance c = new ClassAttendance();

            this.Hide();
            c.Show();
        }
コード例 #2
0
ファイル: Home.cs プロジェクト: AqsaAbid/Mini-Project
        /// <summary>
        /// the function is closing the current form and opens the class attendance form
        /// </summary>
        /// <param name="sender">Object Sender is a parameter called Sender that contains a reference to the control/object that raised the event</param>
        /// <param name="e">EventArgs e is a parameter called e that contains the event data</param>
        private void button7_Click(object sender, EventArgs e)
        {
            ClassAttendance ca = new ClassAttendance();

            this.Hide();
            ca.Show();
        }