Esempio n. 1
0
 private void Btn_CalcToLast_Click(object sender, EventArgs e)
 {
     if (Condition())
     {
         Calculation calculation = new Calculation();
         calculation.Init();
         calculation.CalcAll();
         if (Check_SaveFile.Checked)
         {
             calculation.SaveState();
         }
     }
     else
     {
         WarningMessage();
     }
 }