Example #1
0
 private void SaveConfig()
 {
     FuEQ.SetEQFolderForToon(m_currentToon, m_currentServer, txtEqFolder.Text);
     Cfg.set("LootMinutes", txtLootMinutes.Text);
     Cfg.set("LootLookupMinutes", txtLootLookupMinutes.Text);
     Cfg.setEncrypted("HttpUsername", txtFuUsername.Text);
     Cfg.setEncrypted("HttpPassword", txtFuPassword.Text);
 }
Example #2
0
        private void UpgradeOld()
        {
            string toon = Cfg.get("EqToon");

            if (toon.Length > 0)
            {
                string server = Cfg.get("EqServerShortName");
                string folder = Cfg.get("EqFolder");
                FuEQ.SetToons(new List <string> {
                    String.Format("{0} - {1}", server, toon)
                });
                FuEQ.SetEQFolderForToon(toon, server, folder);

                Cfg.delete("EqToon");
                Cfg.delete("EqServerShortName");
                Cfg.delete("EqFolder");
                Cfg.delete("EqLogFolder");
            }
        }