Exemplo n.º 1
0
 public void Statistics()
 {
     try
     {
         UserActionUtils.WriteHotSpot(this.users.UserId, 0, this.model);
         this.history = new List <Model.History>(); //new LocalHistoryUtils().GetHistory();
         if (this.history == null)
         {
             this.ForWard.IsEnabled       = false;
             this.ForWard.Icon.Visibility = Visibility.Hidden;
         }
         if (this.index == 0)
         {
             this.BackWard.IsEnabled       = false;
             this.BackWard.Icon.Visibility = Visibility.Hidden;
         }
         else if (this.index == (this.history.Count - 1))
         {
             this.ForWard.IsEnabled       = false;
             this.ForWard.Icon.Visibility = Visibility.Hidden;
         }
     }
     catch
     {
     }
 }
Exemplo n.º 2
0
 public void Statistics()
 {
     UserActionUtils.WriteHotSpot(this.users.UserId, 1, this.model);
     //List<BACAClient.Model.History> history = new LocalHistoryUtils().GetHistory();
     //if (!new LocalHistoryUtils().IsExists(history, this.model))
     //{
     //    new LocalHistoryUtils().SetHistory(this.model);
     //}
 }