Esempio n. 1
0
        protected override void OnMouseDown(MouseEventArgs e)
        {
            base.OnMouseDown(e);
            if (e.Button == MouseButtons.Left && proj != null)
            {
                switch (proj.GetProjectType())
                {
                case ProjectType.Bible:
                    BibleProject bp = (BibleProject)proj;
                    bp.GoNextSlide();
                    break;

                case ProjectType.Song:
                    SongProject sp = (SongProject)proj;
                    sp.GoNextSlide();
                    break;
                }
            }
        }
Esempio n. 2
0
 private void btnNext_Click(object sender, EventArgs e)
 {
     proj.GoNextSlide();
 }