Example #1
0
 private void plainmode_Checked(object sender, RoutedEventArgs e)
 {
     if (!Project.Loaded)
     {
         return;
     }
     setMode(2);
     GMXFontDB.LoadFont(Project.getFontPath(Project.PlainText));
     showText(Text);
 }
Example #2
0
 private void sans_Checked(object sender, RoutedEventArgs e)
 {
     if (!Project.Loaded)
     {
         return;
     }
     GMXFontDB.LoadFont(Project.getFontPath(Project.SansFont));
     setMode(faceMode.IsChecked == true ? 1 : 0);
     showText(Text);
 }