Esempio n. 1
0
 void InitTradeSkillTabCallback()
 {
     TradeSkillTabControl.SuspendLayout();
     TradeSkillTabControl.TabPages.Clear();
     for (int i = 0; i < PB.TradeSkillList.Count; i++)
     {
         TradeSkillTabControl.TabPages.Add(new TradeSkillListView(i));
     }
     TradeSkillTabControl.ResumeLayout();
 }
Esempio n. 2
0
        private void InitTradeSkillTabCallback()
        {
            TradeSkillTabControl.SuspendLayout();
            TradeSkillTabControl.TabPages.Clear();
            for (int i = 0; i < _pb.TradeSkillList.Count; i++)
            {
                TradeSkillTabControl.TabPages.Add(new TradeSkillListView(i));
            }
            TradeSkillTabControl.ResumeLayout();

            if (_pb.TradeSkillList.Count > 0)
            {
                TradeSkillTabControl.Visible = true;
            }
        }