Пример #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     if (thieftCounter == 5)
     {
         Comunicats.TooMuchThieft();
         this.Close();
     }
     else
     {
         k++;
         InterestContinue(k);
         SqlOperation.SqlSave(interestList, k);
         progressBarInterest.Value = 1;
         SqlOperation.DeletePosition(username);//aktualizacja stanu zalogowanego użytkownika
         SqlOperation.Actualization(username, password, valueWalletUser, actionAmount, debenturesAmount, balancedMarketAmount, moneyMarketAmount);
     }
 }