public void RefreshTradeSkillTabs() { if (!IsValid) return; if (TradeSkillTabControl.InvokeRequired) TradeSkillTabControl.BeginInvoke(new guiInvokeCB(RefreshTradeSkillTabsCallback)); else RefreshTradeSkillTabsCallback(); }
public void InitTradeSkillTab() { if (!IsValid) return; if (TradeSkillTabControl.InvokeRequired) TradeSkillTabControl.BeginInvoke(new guiInvokeCB(InitTradeSkillTabCallback)); else InitTradeSkillTabCallback(); }
void InitTradeSkillTabCallback() { TradeSkillTabControl.SuspendLayout(); TradeSkillTabControl.TabPages.Clear(); for (int i = 0; i < PB.TradeSkillList.Count; i++) { TradeSkillTabControl.TabPages.Add(new TradeSkillListView(i)); } TradeSkillTabControl.ResumeLayout(); }
public void RefreshTradeSkillTabs() { if (!IsValid) { return; } if (TradeSkillTabControl.InvokeRequired) { TradeSkillTabControl.BeginInvoke(new GuiInvokeCB(RefreshTradeSkillTabsCallback)); } else { RefreshTradeSkillTabsCallback(); } }
public void UpdateBotCombo() { if (!IsValid) { return; } if (TradeSkillTabControl.InvokeRequired) { TradeSkillTabControl.BeginInvoke(new GuiInvokeCB(UpdateBotComboCallback)); } else { UpdateBotComboCallback(); } }
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; } }
public void InitTradeSkillTab() { if (!IsValid) { return; } if (TradeSkillTabControl.InvokeRequired) { TradeSkillTabControl.BeginInvoke(new GuiInvokeCB(InitTradeSkillTabCallback)); } else { InitTradeSkillTabCallback(); } }