コード例 #1
0
 public SingleLoadedAnime()
 {
     _tryCount = 0;
     if (DesignMode == false)
     {
         InitializeComponent();
         _phantomObject = WebDriverClass.PhantomJSInstance;
         _de            = DownloadingEpisodes.GetMe();
     }
 }
コード例 #2
0
ファイル: MainFrm.cs プロジェクト: rajeshwarn/Otaku-Time
        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!
        }