Beispiel #1
0
 // the user wishes to save the theme..
 private void mnuSaveThemeAs_Click(object sender, EventArgs e)
 {
     if (sdXmlTheme.ShowDialog() == DialogResult.OK)
     {
         ThemeSettings.Save(sdXmlTheme.FileName);
     }
 }
Beispiel #2
0
 // saves the current theme as the default theme, same as the OK button press..
 private void mnuSaveAsDefaultTheme_Click(object sender, EventArgs e)
 {
     ThemeSettings.Save(ThemeSettings.DefaultFileName);
 }