private void buttonGoTo_Click(object sender, EventArgs e) { if (maJourneeSel != null) { ///////////////////////// Ajouter des constructeurs à WindowLevel2 et WindowLevel3 pour avoir comme fenetrePrec la fenetre de recherche if (monActiviteSel != null) { WindowLevel3 win1 = new WindowLevel3(monActiviteSel, maJourneeSel, this); win1.Show(); this.Hide(); } else { WindowRecord win1 = new WindowRecord(maJourneeSel, this); win1.Show(); this.Hide(); } } }
private void buttonModifAct_Click(object sender, EventArgs e) { WindowLevel3 win3 = new WindowLevel3(monactiviteSelectionnee, maJournee, this); win3.Show(); this.Hide(); }