HeatControl.xaml.cs 481 B

12345678910111213141516171819202122
  1. using System.Windows.Controls;
  2. using SHJX.Service.ModelView;
  3. namespace SHJX.Service.Librarys.setting
  4. {
  5. /// <summary>
  6. /// OftenArgControl.xaml 的交互逻辑
  7. /// </summary>
  8. public partial class HeatControl : UserControl
  9. {
  10. public HeatControl()
  11. {
  12. InitializeComponent();
  13. }
  14. public HeatControl(SettingViewModel type)
  15. {
  16. InitializeComponent();
  17. this.DataContext = type;
  18. }
  19. }
  20. }