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