private void EditConfigBtn_Click(object sender, EventArgs e) { try { var configEditor = new ConfigEditor(logger, this, hookService.combinationsConfig, (string)this.ExistingConfigsComboBox.SelectedItem); configEditor.Show(); } catch (NullReferenceException) { MessageBox.Show(Globals.GlobalResources.GetString("EmptyConfiguratinMsg")); } }
private void NewConfigBtn_Click(object sender, EventArgs e) { var configEditor = new ConfigEditor(logger, this); configEditor.Show(); }