private void bt_userinfo_Click(object sender, EventArgs e) { TeacherInfoForm form = new TeacherInfoForm(username); form.ShowDialog(); }