Example #1
0
        private void editorsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormViewers fe = new FormViewers(m_config);

            if (fe.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
            {
                AppConfigIO.Write <AppConfig>(m_config);
            }
        }
Example #2
0
 private void WriteConfig()
 {
     try
     {
         AppConfigIO.Write <AppConfig>(m_config);
     }
     catch (SystemException ex)
     {
         Debug.WriteLine("[{0}][{1}]", ex.Source, ex.Message);
     }
 }