private void PopupBrowsersDialogSetDefaultConfig()
 {
     var browsersDialog = new BrowsersDialog();
     browsersDialog.ShowDialog();
     if (browsersDialog.DialogResult == true)
     {
         _config.Set("AUTVersion", browsersDialog.BrowserSetting.GetAttributeValue("AUTVersion"));
         _config.Set("AUTBuild", browsersDialog.BrowserSetting.GetAttributeValue("AUTBuild"));
         _config.Set("BrowserType", browsersDialog.BrowserSetting.Name.ToString());
         _config.Set("BrowserPlatform", browsersDialog.BrowserSetting.GetAttributeValue("Platform"));
         _config.Set("BrowserVersion", browsersDialog.BrowserSetting.GetAttributeValue("Version"));
     }
 }
Ejemplo n.º 2
0
        private void PopupBrowsersDialogSetDefaultConfig()
        {
            var browsersDialog = new BrowsersDialog();

            browsersDialog.ShowDialog();
            if (browsersDialog.DialogResult == true)
            {
                _config.Set("AUTVersion", browsersDialog.BrowserSetting.GetAttributeValue("AUTVersion"));
                _config.Set("AUTBuild", browsersDialog.BrowserSetting.GetAttributeValue("AUTBuild"));
                _config.Set("BrowserType", browsersDialog.BrowserSetting.Name.ToString());
                _config.Set("BrowserPlatform", browsersDialog.BrowserSetting.GetAttributeValue("Platform"));
                _config.Set("BrowserVersion", browsersDialog.BrowserSetting.GetAttributeValue("Version"));
            }
        }