예제 #1
0
        static void Main()
        {
            Application.SetCompatibleTextRenderingDefault(false);

            var mainForm = new SwdMainView();
            Run(mainForm);
        }
예제 #2
0
        static void Main()
        {
            Application.SetCompatibleTextRenderingDefault(false);

            var mainForm = new SwdMainView();

            Run(mainForm);
        }
예제 #3
0
        public void InitView(SwdMainView view)
        {
            this.view = view;

            // Subscribe to WebDriverUtils events
            SwdBrowser.OnDriverStarted += InitControls;
            SwdBrowser.OnDriverClosed  += InitControls;
            InitControls();
        }
예제 #4
0
        public void InitView(SwdMainView view)
        {
            this.view = view;

            // Subscribe to WebDriverUtils events
            SwdBrowser.OnDriverStarted += InitControls;
            SwdBrowser.OnDriverClosed += InitControls;
            InitControls();
        }
예제 #5
0
        public static SwdMainView Run(SwdMainView mainForm)
        {
            Application.EnableVisualStyles();

            Application.ApplicationExit += new EventHandler(Application_ApplicationExit);
            AppDomain.CurrentDomain.ProcessExit += new EventHandler(CurrentDomain_ProcessExit);

            Application.Run(mainForm);
            return mainForm;
        }
예제 #6
0
        public SwitchToPopupView(BrowserPageFrame currentFrame, SwdMainView parent)
        {
            InitializeComponent();

            this.parentView = parent;
            this.presenter  = MyPresenters.SwitchToPopupPresenter;

            presenter.InitWithView(this);
            presenter.InitWithFrame(currentFrame);
        }
        public SwitchToPopupView(BrowserPageFrame currentFrame, SwdMainView parent)
        {
            InitializeComponent();

            this.parentView = parent;
            this.presenter = MyPresenters.SwitchToPopupPresenter;

            presenter.InitWithView(this);
            presenter.InitWithFrame(currentFrame);
        }
예제 #8
0
        public static SwdMainView Run(SwdMainView mainForm)
        {
            Application.EnableVisualStyles();

            Application.ApplicationExit         += new EventHandler(Application_ApplicationExit);
            AppDomain.CurrentDomain.ProcessExit += new EventHandler(CurrentDomain_ProcessExit);


            Application.Run(mainForm);
            return(mainForm);
        }
예제 #9
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Application.ThreadException += new ThreadExceptionHandler().ApplicationThreadException;
            Application.ApplicationExit += new EventHandler(Application_ApplicationExit);
            AppDomain.CurrentDomain.ProcessExit += new EventHandler(CurrentDomain_ProcessExit);

            var mainForm = new SwdMainView();
            Application.Run(mainForm);
        }
예제 #10
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Application.ThreadException         += new ThreadExceptionHandler().ApplicationThreadException;
            Application.ApplicationExit         += new EventHandler(Application_ApplicationExit);
            AppDomain.CurrentDomain.ProcessExit += new EventHandler(CurrentDomain_ProcessExit);

            var mainForm = new SwdMainView();

            Application.Run(mainForm);
        }