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; namespace ivf_tl_Operate.View { /// /// AboutView.xaml 的交互逻辑 /// public partial class AboutView : UserControl { public AboutView() { InitializeComponent(); var version = AppData.Instance.HttpHelper.GetVersionBySnApi(AppData.Instance.TlSn); this.t1.Text = version.releaseVersion; this.t2.Text = version.runVersion; this._tlNum_TextBlock.Text = AppData.Instance.TlNum; } private void Return_Click(object sender, RoutedEventArgs e) { SettingPageView settingPageView = new SettingPageView(); AppData.Instance.MainWindow.LoadPage(settingPageView); } } }