private void GyártásToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); var form2 = new Gyartas(); form2.Closed += (s, args) => this.Close(); form2.Show(); }
private void btnGyartas_Click(object sender, EventArgs e) { this.Hide(); var form = new Gyartas(); form.ShowDialog(); this.Show(); DiagramFeltolt(); }