AdvancedLauncher.UI.Controls.NewsBlock.ShowTab C# (CSharp) Method

ShowTab() public method

public ShowTab ( int tab ) : void
tab int
return void
        public void ShowTab(int tab)
        {
            if (tab < 0) {
                return;
            }
            if (tab == 0 && !bwLoadTwitter.IsBusy) {
                bwLoadTwitter.RunWorkerAsync();
            } else if (!bwLoadServerNews.IsBusy) {
                bwLoadServerNews.RunWorkerAsync();
            }
        }