示例#1
0
 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();
         }
     }
 }
示例#2
0
 private void buttonCompteRendu_Click(object sender, EventArgs e)
 {
     Button but = sender as Button;
     WindowRecord winrec = new WindowRecord(maJournee, this);
     winrec.Show();
     this.Hide();
 }