Ejemplo n.º 1
0
        public void SaveThemes(string file)
        {
            FileSerializer <ThemesConfig> fs = new FileSerializer <ThemesConfig>();

            try
            {
                fs.SerializeObject(file, this.m_themes);
            }
            catch (System.Exception e)
            {
                MessageBox.Show(e.Message, "exception");
            }
        }
Ejemplo n.º 2
0
        public void LoadThemes(string file)
        {
            FileSerializer <ThemesConfig> fs = new FileSerializer <ThemesConfig>();

            try
            {
                m_themes = fs.DeSerializeObject(file);
            }
            catch (System.Exception e)
            {
                MessageBox.Show(e.Message, "exception");
            }
        }