示例#1
0
        private void button11_Click(object sender, EventArgs e)
        {
            List <string> toons = FuEQ.GetToons();

            m_currentToon   = txtEqCharacter.Text;
            m_currentServer = txtEqServer.Text;
            toons.Add(String.Format("{0} - {1}", m_currentServer, m_currentToon));
            FuEQ.SetToons(toons);
            LoadConfig();
        }
示例#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");
            }
        }