/// <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; }
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; }