protected void ShowConfigureForm() { if (_configureForm == null) { _configureForm = new ConfigureForm(); _configureForm.Closed += delegate { UpdateCodeTagForm(_configureForm.IsConfigurationUpdated); if (_codeTagForm != null) { _codeTagForm.Activate(); } _configureForm = null; }; _configureForm.Show(); _configureForm.Activate(); } else { _configureForm.Activate(); } }
private void ShowConfigureForm() { if (_configureForm == null) { _configureForm = new ConfigureForm(); _configureForm.Closed += delegate { UpdateCodeTagForm(_configureForm.IsConfigurationUpdated); if (_codeTagForm != null) _codeTagForm.Activate(); _configureForm = null; }; _configureForm.Show(); _configureForm.Activate(); } else { _configureForm.Activate(); } }