コード例 #1
0
 public void RefreshTradeSkillTabs()
 {
     if (!IsValid)
         return;
     if (TradeSkillTabControl.InvokeRequired)
         TradeSkillTabControl.BeginInvoke(new guiInvokeCB(RefreshTradeSkillTabsCallback));
     else
         RefreshTradeSkillTabsCallback();
 }
コード例 #2
0
 public void InitTradeSkillTab()
 {
     if (!IsValid)
         return;
     if (TradeSkillTabControl.InvokeRequired)
         TradeSkillTabControl.BeginInvoke(new guiInvokeCB(InitTradeSkillTabCallback));
     else
         InitTradeSkillTabCallback();
 }
コード例 #3
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();
 }
コード例 #4
0
 public void RefreshTradeSkillTabs()
 {
     if (!IsValid)
     {
         return;
     }
     if (TradeSkillTabControl.InvokeRequired)
     {
         TradeSkillTabControl.BeginInvoke(new GuiInvokeCB(RefreshTradeSkillTabsCallback));
     }
     else
     {
         RefreshTradeSkillTabsCallback();
     }
 }
コード例 #5
0
 public void UpdateBotCombo()
 {
     if (!IsValid)
     {
         return;
     }
     if (TradeSkillTabControl.InvokeRequired)
     {
         TradeSkillTabControl.BeginInvoke(new GuiInvokeCB(UpdateBotComboCallback));
     }
     else
     {
         UpdateBotComboCallback();
     }
 }
コード例 #6
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;
            }
        }
コード例 #7
0
 public void InitTradeSkillTab()
 {
     if (!IsValid)
     {
         return;
     }
     if (TradeSkillTabControl.InvokeRequired)
     {
         TradeSkillTabControl.BeginInvoke(new GuiInvokeCB(InitTradeSkillTabCallback));
     }
     else
     {
         InitTradeSkillTabCallback();
     }
 }