Exemple #1
0
 private void EditToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_ProfileEditorForm == null)
     {
         _ProfileEditorForm             = new ProfileEditorForm();
         _ProfileEditorForm.FormClosed += _ProfileEditorForm_FormClosed;
         _ProfileEditorForm.Show();
     }
     else
     {
         _ProfileEditorForm.Focus();
     }
 }
Exemple #2
0
 private void _ProfileEditorForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     _ProfileEditorForm = null;
 }