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