示例#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!
        }
示例#2
0
 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);
 }
示例#4
0
 public SplashFrm()
 {
     InitializeComponent();
     DecoratorClass.GoThroughDecorate(this);
     _phantomObject = WebDriverClass.PhantomJSInstance;
 }