コード例 #1
0
ファイル: PresentationWPF.cs プロジェクト: wert007/Slides
 public PresentationWPF(Presentation presentation)
 {
     HorizontalAlignment = HorizontalAlignment.Stretch;
     VerticalAlignment   = VerticalAlignment.Stretch;
     session             = presentation.CreateSession();
     display             = new Grid();
     Children.Add(display);
     current = session.RequestNext();
     Focus();
     currentLoops = new List <DispatcherTimer>();
 }
コード例 #2
0
ファイル: PresentationReact.cs プロジェクト: wert007/Slides
 public PresentationReact(Presentation presentation, string path)
 {
     this.session = presentation.CreateSession();
     this.path    = path;
 }