private void variables_btn_Click(object sender, EventArgs e) { if (variablesForm == null) { variablesForm = new VariablesForm(); variablesForm.FormClosed += VariablesForm_FormClosed; } this.Hide(); variablesForm.Show(); }
private void PressureForm_FormClosing(object sender, FormClosingEventArgs e) { VariablesForm variables = new VariablesForm(); variables.Show(); }