Exemplo n.º 1
0
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;
  }
}
Exemplo n.º 2
0
Arquivo: FM.cpp Projeto: bks/qz7
void ExecuteCommand(UINT commandID)
{
  switch (commandID)
  {
    case kAddCommand:
      g_App.AddToArchive();
      break;
    case kExtractCommand:
      g_App.ExtractArchives();
      break;
    case kTestCommand:
      g_App.TestArchives();
      break;
  }
}