Ejemplo n.º 1
0
        void ClearAccount()
        {
            Name     = Properties.Settings.Default.Name = "";
            Password = Properties.Settings.Default.Password = "";

            Properties.Settings.Default.Save();

            Fufu.logout();
            Logs.Clear();
        }
Ejemplo n.º 2
0
        public override void Dispose()
        {
            base.Dispose();

            Config.saveConfig();

            foreach (var f in filters)
            {
                if (f is IDisposable)
                {
                    (f as IDisposable).Dispose();
                }
            }

            Fufu.logout();
        }
Ejemplo n.º 3
0
        public override void Dispose()
        {
            base.Dispose();
            Properties.Settings.Default.Name     = Name;
            Properties.Settings.Default.Password = Security.Encrypt(Password, "p@ssw0rd");

            Config.saveConfig();
            Properties.Settings.Default.Save();

            foreach (var f in filters)
            {
                if (f is IDisposable)
                {
                    (f as IDisposable).Dispose();
                }
            }

            Fufu.logout();
        }