Esempio n. 1
0
 private void MenuMainProjectDeodexClick(object sender, EventArgs e)
 {
     try
     {
         if (_solution.Properties.CanOptimizePng &&
             MessageEngine.AskQuestion(this, "Do you want png files to be optimized", "Deodex...",
                                       MessageBoxButtons.YesNo) == DialogResult.Yes)
         {
             ProcessFiles(null, ProcessingOptions.DeOdex | ProcessingOptions.OptimizePng);
         }
         else
         {
             ProcessFiles(null, ProcessingOptions.DeOdex);
         }
     }
     catch (Exception ex)
     {
         MessageEngine.ShowError(ex);
     }
 }