Esempio n. 1
0
        public void resetConfig()
        {
            string folder = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\MoalemYar\config.json";

            if (System.IO.File.Exists(folder))
            {
                File.Delete(folder);
                AppVariable.InitializeSettings();
                MainWindow.main.DataResetDeletedNotification("تنظیمات برنامه");
            }
        }