コード例 #1
0
ファイル: LayoutController.cs プロジェクト: AlexSneg/VIRD-1.0
 /// <summary>
 /// Подготовить презентацию.
 /// </summary>
 private bool Prepare()
 {
     PresentationInfo info = PresentationController.Instance.PresentationInfo;
     PreparePresentationController controller = new PreparePresentationController(new PresentationInfo(info), CurrentLayout.Slide.Id);
     PreparePresentationForm form = new PreparePresentationForm(controller);
     form.StartPosition = FormStartPosition.CenterScreen;
     form.ShowDialog();
     bool prepared = controller.PreparationStatus != ShowClient.PreparationStatus.Error;
     return prepared;
 }
コード例 #2
0
ファイル: PlayerController.cs プロジェクト: AlexSneg/VIRD-1.0
 public void Prepare(PresentationInfo info)
 {
     PreparePresentationController controller = new PreparePresentationController(new PresentationInfo(info));
     PreparePresentationForm form = new PreparePresentationForm(controller);
     form.ShowDialog();
     _isPresentationPrepared = controller.PreparationStatus != ShowClient.PreparationStatus.Error;
 }