Exemple #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();
 }
        private void PressureForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            VariablesForm variables = new VariablesForm();

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