Example #1
0
        private void CloseWallet()
        {
            if (MainWallet == null)
            {
                return;
            }

            MainWallet.Close();
            MainWallet    = null;
            WalletNotNull = false;
            InfoTag       = TextTools.RetrieveStringFromResource("Main_Info_Inactive");
            this.SetStateLight();
            Global.VML.UiSettings.ClearNetwork();
            // Closing wallet results in
            // clearing the wallet path
            // from the conf file
            FileTools.ClearConfWalletSettings();
            Logger.StopLogging();
        }