示例#1
0
 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"));
     }
 }
示例#2
0
        private void NewConfigBtn_Click(object sender, EventArgs e)
        {
            var configEditor = new ConfigEditor(logger, this);

            configEditor.Show();
        }