public InstallationInformation(List <GameTarget> targetsList, GameTarget selectedTarget)
 {
     DataContext = this;
     InstallationTargets.AddRange(targetsList);
     LoadCommands();
     InitializeComponent();
     SelectedTarget = selectedTarget;
 }
 public InstallationInformation(List <GameTarget> targetsList, GameTarget selectedTarget)
 {
     MemoryAnalyzer.AddTrackedMemoryItem(@"Installation Information Panel", new WeakReference(this));
     DataContext = this;
     InstallationTargets.AddRange(targetsList);
     LoadCommands();
     InitializeComponent();
     SelectedTarget = selectedTarget;
 }
 public override void OnPanelVisible()
 {
     InstallationTargets.ReplaceAll(mainwindow.InstallationTargets.Where(x => x.Selectable));
     SelectedTarget = InstallationTargets.FirstOrDefault();
 }