Exemplo n.º 1
0
 private void plainmode_Checked(object sender, RoutedEventArgs e)
 {
     if (!Project.Loaded)
     {
         return;
     }
     setMode(2);
     GMXFontDB.LoadFont(Project.getFontPath(Project.PlainText));
     showText(Text);
 }
Exemplo n.º 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);
 }