Beispiel #1
0
        private void LoadSlide()
        {
            Cursor.Current = Cursors.WaitCursor;
            if (_slides != null)
            {
                if (_currentSlide < _slides.Count())
                {
                    label1.Text = _slides[_currentSlide].caption;
                    pbSlide.Load(_slides[_currentSlide].image_desktop);
                }
                else
                {
                    _traitify.SetSlideBulkUpdate(_assessment.id, _slides);

                    frmResults frm = new frmResults();
                    frm.assessment = _assessment;
                    frm.Show();
                    this.Close();
                }
            }
        }
        private void LoadSlide()
        {
            Cursor.Current = Cursors.WaitCursor;
            if (_slides != null)
            {
                if(_currentSlide < _slides.Count())
                {
                    label1.Text = _slides[_currentSlide].caption;
                    pbSlide.Load(_slides[_currentSlide].image_desktop);
                }
                else
                {
                    _traitify.SetSlideBulkUpdate(_assessment.id, _slides);

                    frmResults frm = new frmResults();
                    frm.assessment = _assessment;
                    frm.Show();
                    this.Close();
                }
            }
        }