static void ExecuteCommand(UINT commandID) { CPanel::CDisableTimerProcessing disableTimerProcessing1(g_App.Panels[0]); CPanel::CDisableTimerProcessing disableTimerProcessing2(g_App.Panels[1]); switch (commandID) { case kAddCommand: g_App.AddToArchive(); break; case kExtractCommand: g_App.ExtractArchives(); break; case kTestCommand: g_App.TestArchives(); break; } }
void ExecuteCommand(UINT commandID) { switch (commandID) { case kAddCommand: g_App.AddToArchive(); break; case kExtractCommand: g_App.ExtractArchives(); break; case kTestCommand: g_App.TestArchives(); break; } }