Esempio n. 1
0
        public REPL()
        {
            InitializeComponent();

            this.settings = new UserSettings();
            this.viewModel = new StatusViewModel();

            this.browserSelection.Items.Clear();
            var browserValues = Enum.GetValues(typeof(FluentAutomation.SeleniumWebDriver.Browser)).Cast<FluentAutomation.SeleniumWebDriver.Browser>().ToList();
            browserValues.Sort((x, y) => x.ToString().CompareTo(y.ToString()));

            foreach (var browserValue in browserValues)
            {
                this.browserSelection.Items.Add(browserValue.ToString());
            }

            this.InitRepl();
            this.browserSelection.SetItemChecked(1, true);
        }
Esempio n. 2
0
        public REPL()
        {
            InitializeComponent();

            this.settings  = new UserSettings();
            this.viewModel = new StatusViewModel();

            this.browserSelection.Items.Clear();
            var browserValues = Enum.GetValues(typeof(FluentAutomation.SeleniumWebDriver.Browser)).Cast <FluentAutomation.SeleniumWebDriver.Browser>().ToList();

            browserValues.Sort((x, y) => x.ToString().CompareTo(y.ToString()));

            foreach (var browserValue in browserValues)
            {
                this.browserSelection.Items.Add(browserValue.ToString());
            }

            this.InitRepl();
            this.browserSelection.SetItemChecked(1, true);
        }
Esempio n. 3
0
 public StatusLine(UserSettings settings, StatusViewModel viewModel)
 {
     this.settings  = settings;
     this.viewModel = viewModel;
 }
 public StatusLine(UserSettings settings, StatusViewModel viewModel)
 {
     this.settings = settings;
     this.viewModel = viewModel;
 }