public MainWindow() { this.controller = new BorderlessGaming(this); this.controller.Processes.CollectionChanged += Processes_CollectionChanged; this.controller.Favorites.CollectionChanged += Favorites_CollectionChanged; this.InitializeComponent(); }