public TestWindow()
 {
     InitializeComponent();
     WindowStartupLocation = WindowStartupLocation.CenterScreen;
     WindowState = WindowState.Maximized;
     WindowStyle = WindowStyle.None;
     db = new DbFileManager();
     Product p = new Product(db.musics[0]);
     DemoRelateds a = new DemoRelateds(GetRelateds(p));
     this.contentControl.Content = a;
 }
 private void GoToRelated()
 {
     state = 4;
     relatedWindow = new DemoRelateds(GetRelateds(windowProducts[currentProduct]));
     contentControl.Content = relatedWindow;
     isPointed = true;
 }