コード例 #1
0
 // clic sur activité → ouverture du form3
 private void activite_Click(object sender, EventArgs e)
 {
     Form3 f3 = new Form3(this, this.calendrierActuel, this.jourSelec, (Activite)((Button)sender).Tag, this.tabSpatio.SelectedTab.Text);
     DialogResult dialogresult = f3.ShowDialog();
     f3.Dispose();
 }
コード例 #2
0
 // création d'activité → form3
 private void inserer_Click(object sender, EventArgs e)
 {
     Form3 f3 = new Form3(this, this.calendrierActuel, this.jourSelec, null, this.tabSpatio.SelectedTab.Text);
     DialogResult dialogresult = f3.ShowDialog();
     f3.Dispose();
 }