Exemple #1
0
        private void Save_Loc_Click(object sender, RoutedEventArgs e)
        {
            string jsondata = JsonHelper.FromClass(Locations);

            File.WriteAllText(_locationsFilename, jsondata);
        }
Exemple #2
0
        private void Save_Ent_Click(object sender, RoutedEventArgs e)
        {
            string jsondata = JsonHelper.FromClass(Entities);

            File.WriteAllText(_entitiesFilename, jsondata);
        }
Exemple #3
0
        private void Save_Map_Click(object sender, RoutedEventArgs e)
        {
            string jsondata = JsonHelper.FromClass(Map);

            File.WriteAllText(_mapFilename, jsondata);
        }