public LocalSettings()
        {
            //DevUrl = "https://dev-CS--IRIS----RKSB1-CS17-my-salesforce-com.iris-dev.rowini.net:29443",
            //    DevPartner = "/services/Soap/u/29.0/00Dg0000003Nc8C",
            //    DevMeta = "/services/Soap/m/29.0/00Dg0000003Nc8C"

            this.settingsDialog = null;

            this.inst = GetInstance("Inst", Instances.Prod);
            this.debug = GetBool("Debug",false);
            this.ssologin = GetBool("SSOLogin", false);
            this.showalllogins = GetBool("ShowAllLogins", false);
            this.soapversion = GetString("SoapVersion", "29.0");

            this.devurl = GetString("DevUrl", "https://dev-CS--IRIS----RKSB1-CS17-my-salesforce-com.iris-dev.rowini.net:29443");
            this.devorgid = GetString("DevOrgId", "00Dg0000003Nc8C");

            this.iturl = GetString("ITUrl", "");
            this.itorgid = GetString("ITOrgId", "");

            this.uaturl = GetString("UATUrl", "");
            this.uatorgid = GetString("UATOrgId", "");

            this.produrl = GetString("ProdUrl", "");
            this.prodorgid = GetString("ProdOrgId", "");

            this.reportsdevurl = GetString("ReportsDevUrl", "https://reprots.irisbyaxiom.com/SSOLogin");
            this.reportsiturl = GetString("ReportsITUrl", "https://reprots.irisbyaxiom.com/SSOLogin");
            this.reportsuaturl = GetString("ReportsUATUrl", "https://reprots.irisbyaxiom.com/SSOLogin");
            this.reportsprodurl = GetString("ReportsProdUrl", "https://reprots.irisbyaxiom.com/SSOLogin");

            this.theme = GetTheme("Theme", Themes.Windows8);
            this.themecolor = GetString("ThemeColor", "#DE5827");
        }
示例#2
0
 public Settings OpenLocalSettings()
 {
     HideWindows();
     if (_ucLocalSettings == null)
     {
         _ucLocalSettings = new Settings();
     }
     _ucLocalSettings.Show();
     _ucLocalSettings.BringToFront();
     return _ucLocalSettings;
 }