public Gestion_Client() { InitializeComponent(); if (frmGC == null) { frmGC = this; } this.dgvClient.DataSource = cli.ALL_CUSTOMERS(); dgvClient.Columns[0].Visible = false; dgvClient.Columns[6].Visible = false; }
static void frm_FormClosed(object sender, FormClosedEventArgs e) { frmGC = null; }
private void btnGC_Click(object sender, EventArgs e) { Gestion_Client gc = new Gestion_Client(); gc.ShowDialog(); }