コード例 #1
0
 public void Close()
 {
     if (Controller.PresentationManager.CurrentPresentation != presentation)
     {
         presentation.Close();
     }
 }
コード例 #2
0
        void pres_OnFinishedLoading(object sender, EventArgs args)
        {
            finishedLoading  = true;
            recoverSelection = null;
            if (this.SlideListBox.SelectedIndex >= 0)
            {
                presentation.CurrentSlideIndex = this.SlideListBox.SelectedIndex;

                if (Controller.PresentationManager.CurrentPresentation != oldPresentation && oldPresentation != null)
                {
                    oldPresentation.Close();
                }
                Controller.PresentationManager.CurrentPresentation = presentation;

                oldPresentation = null;
            }
        }