AboutControl.xaml.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Configuration;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. using System.Windows.Controls;
  9. using System.Windows.Data;
  10. using System.Windows.Documents;
  11. using System.Windows.Input;
  12. using System.Windows.Media;
  13. using System.Windows.Media.Imaging;
  14. using System.Windows.Navigation;
  15. using System.Windows.Shapes;
  16. using GeekDesk.Util;
  17. using GeekDesk.Constant;
  18. namespace GeekDesk.Control.UserControls.Config
  19. {
  20. /// <summary>
  21. /// AboutControl.xaml 的交互逻辑
  22. /// </summary>
  23. public partial class AboutControl : UserControl
  24. {
  25. public AboutControl()
  26. {
  27. InitializeComponent();
  28. AppInfo.Text += ConfigurationManager.AppSettings["version"];
  29. PublicWeChat.Source = ImageUtil.Base64ToBitmapImage(Constants.PUBLIC_WE_CHAT_IMG_BASE64);
  30. WeChatCode.Source = ImageUtil.Base64ToBitmapImage(Constants.WE_CHAT_CODE_IMG_BASE64);
  31. ZFBCode.Source = ImageUtil.Base64ToBitmapImage(Constants.ZFB_CODE_IMG_BASE64);
  32. }
  33. }
  34. }