public string GetFullDownloadWebsite() { switch (this.downloadWebsite) { case "rarbg": return(UserSettingsTool.Get().WEBSITE_RARBG); default: return(null); } }
public Main() { InitializeComponent(); this.userSettingsTool = UserSettingsTool.Get(); this.fileName = this.userSettingsTool.XML_FILE_PATH; if (this.fileName != null) { this.lblFile.Text = this.fileName; } this.shows = new List <Show>(); this.MISSING_ID_INDICATOR = this.userSettingsTool.MISSING_ID_INDICATOR; treeResults.Nodes.Add("Load XML file to view results"); this.logForm = new LogForm(); }
public ShowSettingsForm(Show show) { InitializeComponent(); this.show = show; this.userSettingsTool = UserSettingsTool.Get(); txtIMDB_ID.Text = show.IMDB_ID; rbRARBG.Text = this.userSettingsTool.WEBSITE_RARBG; //TODO: This seems bad if (this.userSettingsTool.WEBSITE_RARBG.ToLower().Contains(show.Website)) { rbRARBG.Checked = true; } else { rbRARBG.Checked = false; } }
public AppSettingsForm() { InitializeComponent(); this.userSettingsTool = UserSettingsTool.Get(); txtWebsiteRARBG.Text = this.userSettingsTool.WEBSITE_RARBG; }