private void update() { GesComptes = new ctrlComptes(); var formOuvert = new frmGesComptes(); formOuvert.Show(); this.Hide(); formOuvert.Closed += (s, args) => this.Close(); }
private void btnGesUtil_Click(object sender, EventArgs e) { var form = new frmGesComptes(); form.Idemp = Convert.ToInt32(txtId.Text); form.ShowDialog(); }
private void toolStripMenuItem4_Click(object sender, EventArgs e) { var formOuvert = new frmGesComptes(); this.Hide(); formOuvert.Show(); formOuvert.Closed += (s, args) => this.Close(); }