Exemple #1
0
 private void ReduceFontSizeButton_Click(object sender, RoutedEventArgs e)
 {
     ReadFontSize = ReadFontSize <= 10 ? 10 : ReadFontSize - 2;
     AppTools.WriteLocalSetting(AppSettings.ReadFontSize, ReadFontSize.ToString());
 }
Exemple #2
0
 private void AddFontSizeButton_Click(object sender, RoutedEventArgs e)
 {
     ReadFontSize = ReadFontSize >= 40 ? 40 : ReadFontSize + 2;
     AppTools.WriteLocalSetting(AppSettings.ReadFontSize, ReadFontSize.ToString());
 }