Example #1
0
 private void menuBarWidget1_CMFilter_Click(object sender, MenuBarWidget.MBClickEventArgs mn)
 {
     try
     {
         this.Enabled = false;
         Application.DoEvents();
         switch (mn.mn)
         {
             case MenuBarWidget.MB.CMF_pasteRK: filterPaste(); break;
         }
     }
     finally { this.Enabled = true; }
 }
Example #2
0
 private void menuBarWidget1_MBHelp_Click(object sender, MenuBarWidget.MBClickEventArgs mn)
 {
     try
     {
         this.Enabled = false;
         Application.DoEvents();
         switch (mn.mn)
         {
             case MenuBarWidget.MB.MBH_contents: helpContents(); break;
             case MenuBarWidget.MB.MBH_about: helpAbout(); break;
             case MenuBarWidget.MB.MBH_update: helpUpdate(); break;
             case MenuBarWidget.MB.MBH_warranty: helpWarranty(); break;
             case MenuBarWidget.MB.MBH_licence: helpLicence(); break;
         }
     }
     finally { this.Enabled = true; }
 }
Example #3
0
 private void menuBarWidget1_MBTools_Click(object sender, MenuBarWidget.MBClickEventArgs mn)
 {
     try
     {
         this.Enabled = false;
         Application.DoEvents();
         switch (mn.mn)
         {
             case MenuBarWidget.MB.MBT_fnvHash: toolsFNV(); break;
             case MenuBarWidget.MB.MBT_search: toolsSearch(); break;
         }
     }
     finally { this.Enabled = true; }
 }
Example #4
0
 private void menuBarWidget1_MBSettings_Click(object sender, MenuBarWidget.MBClickEventArgs mn)
 {
     try
     {
         this.Enabled = false;
         Application.DoEvents();
         switch (mn.mn)
         {
             case MenuBarWidget.MB.MBS_updates: settingsAutomaticUpdates(); break;
             case MenuBarWidget.MB.MBS_previewDDS: settingsEnableDDSPreview(); break;
             case MenuBarWidget.MB.MBS_fallbackTextPreview: settingseEnableFallbackTextPreview(); break;
             case MenuBarWidget.MB.MBS_fallbackHexPreview: settingseEnableFallbackHexPreview(); break;
             case MenuBarWidget.MB.MBS_askAutoSaveDBC: settingsMBS_askAutoSaveDBC(); break;
             case MenuBarWidget.MB.MBS_bookmarks: settingsOrganiseBookmarks(); break;
             case MenuBarWidget.MB.MBS_externals: settingsExternalPrograms(); break;
             case MenuBarWidget.MB.MBS_wrappers: settingsManageWrappers(); break;
             case MenuBarWidget.MB.MBS_saveSettings: saveSettings(); break;
         }
     }
     finally { this.Enabled = true; }
 }
Example #5
0
 private void menuBarWidget1_HelperClick(object sender, MenuBarWidget.HelperClickEventArgs helper)
 {
     try
     {
         this.Enabled = false;
         Application.DoEvents();
         do_HelperClick(helper.helper);
     }
     finally { this.Enabled = true; }
 }