public R_Salle_Form() { InitializeComponent(); this.ShowInTaskbar = false; if (frm == null) { frm = this; } this.dataGridView1.DataSource = salle.ListeSalle(); }
private void btnSalles_Click(object sender, EventArgs e) { Form frm = new R_Salle_Form(); frm.ShowDialog(); }
static void frm_FormClosed(object sender, FormClosedEventArgs e) { frm = null; }