Example #1
0
 public MainWindow()
 {
     InitializeComponent();
     Window = this;
     Log($"The IP-Address of this machine is { NetworkCommunicator.GetLocalIPAddress() }", false);
     DisplayManager.SetUp();
     Model = (HarmonyViewModel)DataContext;
     VersionLabel.Content = "Harmony-Version: " + typeof(MainWindow).Assembly.GetName().Version;
     MediaControl.Reload();
     MediaControl.UpdateMediaProperties();
 }