UiInstance.cs 637 B

12345678910111213141516171819202122232425
  1. using System.Windows.Media;
  2. using Aitex.Common.Util;
  3. using MECF.Framework.UI.Core.Applications;
  4. namespace EfemDualSimulator.Instances
  5. {
  6. class UiInstance : IUiInstance
  7. {
  8. public string LayoutFile => PathManager.GetCfgDir() + "UILayout.xml";
  9. public string SystemName => "Simulator";
  10. public bool EnableAccountModule => false;
  11. public ImageSource MainIcon { get; set; }
  12. public bool MaxSizeShow { get; } = true;
  13. public UiInstance()
  14. {
  15. //MainIcon = new BitmapImage(new Uri("pack://application:,,,/StripRT;component/Resources/defaultRT.ico"));
  16. }
  17. }
  18. }