private void CreateBook() { addressBar.Text.ToLower(); if (addressBar.Text.Contains("fanfiction.net/s/")) { myBook = new FFNetBook(); } else if (addressBar.Text.Contains("fictionpress.com/s/")) { myBook = new FictionPressBook(); } else if (addressBar.Text.Contains("fanficauthors")) { myBook = new FanFicAuthorsBook(); } else if (addressBar.Text.Contains("tthfanfic.org/Story")) { myBook = new TTHFanficBook(); } }
private void CreateBook() { addressBar.Text.ToLower(); if (addressBar.Text.Contains("fanfiction.net/s/")) myBook = new FFNetBook(); else if (addressBar.Text.Contains("fictionpress.com/s/")) myBook = new FictionPressBook(); else if (addressBar.Text.Contains("fanficauthors")) myBook = new FanFicAuthorsBook(); else if (addressBar.Text.Contains("tthfanfic.org/Story")) myBook = new TTHFanficBook(); }