Example #1
0
        private void GenerateJSONConfig(string path)
        {
            var temp = File.Create(path);

            temp.Close();
            using (var file = new StreamWriter(path))
            {
                file.WriteLine(DefaultSettings.GetDefaultSettings());
                MessageBox.Show(
                    Settings + @" was not found! The file has now been added and loaded with the default settings.");
            }
        }