ShowStyles() 개인적인 메소드

private ShowStyles ( ) : void
리턴 void
예제 #1
0
 void HandleButtonOkClicked(object sender, EventArgs e)
 {
     ApplyStyle(colorSheme);
     try {
         colorSheme.Save(fileName);
         panel.ShowStyles();
     } catch (Exception ex) {
         MessageService.ShowException(ex);
     }
 }
예제 #2
0
 void HandleButtonOkClicked(object sender, EventArgs e)
 {
     ApplyStyle(colorSheme);
     try {
         if (fileName.EndsWith(".vssettings", StringComparison.Ordinal))
         {
             System.IO.File.Delete(fileName);
             fileName += "Style.json";
         }
         colorSheme.Save(fileName);
         panel.ShowStyles();
     } catch (Exception ex) {
         MessageService.ShowException(ex);
     }
     RefreshAllColors();
 }