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

            variables.Show();
        }
Example #3
0
 private void VariablesForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     variablesForm.FormClosed -= VariablesForm_FormClosed;
     variablesForm             = null;
 }