private void button4_Click(object sender, EventArgs e) { try { Globle_data.student_selected_option = "test"; Globle_data.student_selected_language = "number"; //typing_project.Numarical.frm_numarical lo = new typing_project.Numarical.frm_numarical(); //lo.Show(); frm_new_session_from nsf = new frm_new_session_from(); nsf.Show(); this.Hide(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
private void select_language(object sender, EventArgs e) { try { PictureBox pb = (PictureBox)sender; Globle_data.student_selected_option = "practice"; Globle_data.student_selected_language = pb.Tag.ToString(); //typing_project.Numarical.frm_numarical lo = new typing_project.Numarical.frm_numarical(); //lo.Show(); //Globle_data.student_selected_language = "number"; frm_new_session_from nsf = new frm_new_session_from(); nsf.Show(); this.Hide(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }