private void btn_saveHW_Click(object sender, RoutedEventArgs e) { if (blk_HWName.Text == "" || blk_HWdisc.Text == "" || blk_HWpath.Text == "") { output("נא למלא את כל השדות"); return; } else { control.addHW(blk_HWName.Text, blk_HWdisc.Text, blk_HWpath.Text); MenuTeacher m = new MenuTeacher(); m.Show(); this.Close(); } }
private void btn_cancelFields_Click(object sender, RoutedEventArgs e) { MenuTeacher m = new MenuTeacher(); m.Show(); this.Close(); }
public void teacherLogin() { MenuTeacher mt = new MenuTeacher(); mt.Show(); this.Close(); }