Exemple #1
0
        private void RefreshInfo()
        {
            selectPanel.ClearContent();
            for (int i = baseid; i < Math.Min(baseid + 8, jobIdList.Count); i++)
            {
                selectPanel.AddContent(jobIdList[i]);
            }

            selectPanel.SelectIndex = 0;
        }
Exemple #2
0
        private void RefreshInfo(int index)
        {
            questIds = QuestBook.GetQuestIdByChapter(index);
            selectPanel.ClearContent();
            foreach (var itm in questIds)
            {
                selectPanel.AddContent(itm);
            }
            selectPanel.SelectIndex = 0;

            Invalidate(selectPanel.Rectangle);
           // UpdateMethod();
        }
Exemple #3
0
 private void RefreshInfo()
 {
     itemCounts = new int[8];
     mergeInfos = UserProfile.InfoWorld.GetAllMergeData();
     Array.Sort(mergeInfos, new CompareByMethod());
     selectPanel.ClearContent();
     foreach (DbMergeData merge in mergeInfos)
     {
         EquipConfig equipConfig = ConfigData.GetEquipConfig(merge.Target);
         selectPanel.AddContent(equipConfig.Id);
     }
     selectPanel.SelectIndex = 0;
     Invalidate(selectPanel.Rectangle);
     UpdateMethod();
 }