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