public SingleLoadedAnime() { _tryCount = 0; if (DesignMode == false) { InitializeComponent(); _phantomObject = WebDriverClass.PhantomJSInstance; _de = DownloadingEpisodes.GetMe(); } }
public MainFrm() { foreach (var p in Process.GetProcessesByName("PhantomJS")) { p.Kill(); } InitializeComponent(); optionStrip.Renderer = new RemStripBar(); if (DesignMode == false) { _downloadingEpisodes = DownloadingEpisodes.GetMe(); _downloadingEpisodes.Hide(); } VersionTxt.Text += Application.ProductVersion; DecoratorClass.GoThroughDecorate(this); ProgramText.BackColor = MainFrmPanel.BackColor; //doesn't inherit control! }