Exemplo n.º 1
0
        private void ListBoxSlidesMouseDownTimer_Tick(object sender, EventArgs e)
        {
            this.m_ListBoxSlidesMouseDownTimer.Stop();
            YellowstonePathology.Business.Slide.Model.SlideOrder slideOrder = (YellowstonePathology.Business.Slide.Model.SlideOrder) this.ListBoxSlideOrderCollection.SelectedItem;

            SlideOptionsPage slideOptionsPage = new SlideOptionsPage(slideOrder);

            slideOptionsPage.DeleteSlideOrder += new SlideOptionsPage.DeleteSlideOrderEventHandler(SlideOptionsPage_DeleteSlideOrder);
            slideOptionsPage.PrintSlide       += new SlideOptionsPage.PrintSlideEventHandler(SlideOptionsPage_PrintSlide);
            slideOptionsPage.PrintPaperLabel  += new SlideOptionsPage.PrintPaperLabelEventHandler(SlideOptionsPage_PrintPaperLabel);
            slideOptionsPage.Close            += new SlideOptionsPage.CloseEventHandler(SlideOptionsPage_Close);
            this.m_PageNavigator.Navigate(slideOptionsPage);
        }
Exemplo n.º 2
0
        private void ListBoxSlidesMouseDownTimer_Tick(object sender, EventArgs e)
        {
            this.m_ListBoxSlidesMouseDownTimer.Stop();
            YellowstonePathology.Business.Slide.Model.SlideOrder slideOrder = (YellowstonePathology.Business.Slide.Model.SlideOrder)this.ListBoxSlideOrderCollection.SelectedItem;

            SlideOptionsPage slideOptionsPage = new SlideOptionsPage(slideOrder);
            slideOptionsPage.DeleteSlideOrder += new SlideOptionsPage.DeleteSlideOrderEventHandler(SlideOptionsPage_DeleteSlideOrder);
            slideOptionsPage.PrintSlide += new SlideOptionsPage.PrintSlideEventHandler(SlideOptionsPage_PrintSlide);
            slideOptionsPage.PrintPaperLabel += new SlideOptionsPage.PrintPaperLabelEventHandler(SlideOptionsPage_PrintPaperLabel);
            slideOptionsPage.Close += new SlideOptionsPage.CloseEventHandler(SlideOptionsPage_Close);
            this.m_PageNavigator.Navigate(slideOptionsPage);
        }