Exemplo n.º 1
0
 private void Load(int targetType, int periodValue)
 {
     TargetList.Load(CurrentYear.Data, targetType, periodValue);
     if (TargetList.Items.Count > 0)
     {
         InfoTextZIndex = 0;
     }
     else
     {
         InfoText = "Целей нет, придумай что-нибудь";
     }
 }
Exemplo n.º 2
0
 private void Load(bool done)
 {
     TargetList.Load(done);
     if (TargetList.Items.Count > 0)
     {
         InfoTextZIndex = 0;
     }
     else
     {
         if (done)
         {
             InfoText = "Нет достигнутых целей, соберись, тряпка";
         }
         else
         {
             InfoText = "Просроченных целей не найдено, так держать";
         }
     }
 }