ConfigWindow.xaml.cs 571 B

12345678910111213141516171819202122232425
  1. 
  2. using GalaSoft.MvvmLight.Command;
  3. using GeekDesk.Control.UserControls;
  4. using GeekDesk.ViewModel;
  5. using HandyControl.Controls;
  6. using HandyControl.Data;
  7. using System;
  8. namespace GeekDesk.Control
  9. {
  10. /// <summary>
  11. /// ConfigDialog.xaml 的交互逻辑
  12. /// </summary>
  13. public partial class ConfigWindow
  14. {
  15. public ConfigWindow(AppConfig appConfig)
  16. {
  17. InitializeComponent();
  18. this.DataContext = appConfig;
  19. LeftCard.Content = new SettingControl();
  20. this.Topmost = true;
  21. }
  22. }
  23. }