Exemplo n.º 1
0
 public SwdMainView()
 {
     InitializeComponent();
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     presenter          = Presenters.SwdMainPresenter;
     presenter.InitView(this);
 }
Exemplo n.º 2
0
 public SwdMainView()
 {
     InitializeComponent();
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     presenter = Presenters.SwdMainPresenter;
     presenter.InitView(this);
 }
Exemplo n.º 3
0
        public SwdMainView()
        {
            InitializeComponent();
            string versionText = string.Format("SWD Page Recorder {0} (Build Number: {1})", Build.WebDriverVersion, Build.Version);
            this.Text = versionText;
            MyLog.Write("Started: " + versionText);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;

            presenter = MyPresenters.SwdMainPresenter;
            presenter.InitView(this);
        }
Exemplo n.º 4
0
        public SwdMainView()
        {
            InitializeComponent();
            string versionText = string.Format("SWD Page Recorder {0} (Build Number: {1})", Build.WebDriverVersion, Build.Version);

            this.Text = versionText;
            MyLog.Write("Started: " + versionText);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;

            presenter = Presenters.SwdMainPresenter;
            presenter.InitView(this);
        }
Exemplo n.º 5
0
        public SwdMainView()
        {
            InitializeComponent();
            string versionText = string.Format("SWD Page Recorder {0} (Build: {1})", Build.WebDriverVersion, Build.Version);
            this.Text = versionText;
            MyLog.Write("Started: " + versionText);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;

            presenter = Presenters.SwdMainPresenter;
            // https://msdn.microsoft.com/en-us/library/cc221403%28v=vs.95%29.aspx
            this.takePageScreenshotBackgroundWorker = new System.ComponentModel.BackgroundWorker();
            this.takePageScreenshotBackgroundWorker.DoWork +=
                new DoWorkEventHandler(takePageScreenshotBackgroundWorker_DoWork);
            // this.takePageScreenshotBackgroundWorker.ProgressChanged += new ProgressChangedEventHandler(backgroundWorkerExample_ProgressChanged);
            this.takePageScreenshotBackgroundWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(takePageScreenshotBackgroundWorker_RunWorkerCompleted);

            presenter.InitView(this);
        }
Exemplo n.º 6
0
        public SwdMainView()
        {
            InitializeComponent();
            string versionText = string.Format("SWD Page Recorder {0} (Build Number: {1})", Build.WebDriverVersion, Build.Version);

            this.Text = versionText;
            MyLog.Write("Started: " + versionText);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;

            presenter = Presenters.SwdMainPresenter;
            // https://msdn.microsoft.com/en-us/library/cc221403%28v=vs.95%29.aspx
            this.takePageScreenshotBackgroundWorker         = new System.ComponentModel.BackgroundWorker();
            this.takePageScreenshotBackgroundWorker.DoWork +=
                new DoWorkEventHandler(takePageScreenshotBackgroundWorker_DoWork);
            // this.takePageScreenshotBackgroundWorker.ProgressChanged += new ProgressChangedEventHandler(backgroundWorkerExample_ProgressChanged);
            this.takePageScreenshotBackgroundWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(takePageScreenshotBackgroundWorker_RunWorkerCompleted);

            presenter.InitView(this);
        }