using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

using System.Configuration;

namespace AIRS
{
    /// <summary>
    /// SubTitleControl.xaml 的交互逻辑
    /// </summary>
    public partial class SubTitleControl : UserControl
    {
        public SubTitleControl()
        {
            InitializeComponent();
            //显示版本信息
            lblverson.Content = ConfigurationManager.AppSettings["version"].ToString();
        }

        private void sldzoom_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
        {
            lblpercentge.Content= ((sldzoom.Value - 0.1) / (sldzoom.Maximum - sldzoom.Minimum)).ToString("P0");
        }
    }
}
