Beispiel #1
0
 public override void Refresh(object _data)
 {
     if (_data == this.Data)
     {
         this.RefreshFinnishState();
         return;
     }
     this.Data = (APItemDataEx)_data;
     this.RefreshData();
 }
Beispiel #2
0
 private int GetSortWeight(APItemDataEx data)
 {
     int result = 1000;
     if (data.BuyCount() <= 0)
     {
         result = 0;
     }
     else if (data.APData.OffPrice == 1)
     {
         result = 1000000000;
     }
     else if (data.IsComplete())
     {
         result = 1000000;
     }
     return result;
 }