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! }
private void SingleLoadedAnime_Load(object sender, EventArgs e) { DecoratorClass.GoThroughDecorate(this); AnimeSynopsis.BackColor = DownloadBtn.BackColor; //for some reason doesn't paint correctly. }
private DownloadingEpisodes() { InitializeComponent(); DecoratorClass.GoThroughDecorate(this); }
public SplashFrm() { InitializeComponent(); DecoratorClass.GoThroughDecorate(this); _phantomObject = WebDriverClass.PhantomJSInstance; }