コード例 #1
0
 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;
 }
コード例 #2
0
 private void GoToRelated()
 {
     state = 4;
     relatedWindow = new DemoRelateds(GetRelateds(windowProducts[currentProduct]));
     contentControl.Content = relatedWindow;
     isPointed = true;
 }