Example #1
0
        private void ChangeBackgroundImage()
        {
#if DEMO
            new DemoVersionOnly("Changing background").ShowDialog();
#else
            ImageSelection images = new ImageSelection();
            if (DialogResult.OK == images.ShowDialog())
            {
                currentImage = images.SelectedItem;
                this.pbPhoto.Invalidate();
            }
#endif
        }
Example #2
0
 private void btnImage_Click(object sender, EventArgs e)
 {
     #if DEMO
     new DemoVersionOnly("Changing background").ShowDialog();
     #else
     ImageSelection images = new ImageSelection();
     if (DialogResult.OK == images.ShowDialog())
     {
         Program.ConfigHelper.SongDefaultImage = images.SelectedItem.ImageId;
         Program.ConfigHelper.NotifySongDefaultsChanged();
     }
     #endif
 }
Example #3
0
        private void btnImage_Click(object sender, EventArgs e)
        {
#if DEMO
            new DemoVersionOnly("Changing background").ShowDialog();
#else
            ImageSelection images = new ImageSelection();
            if (DialogResult.OK == images.ShowDialog())
            {
                Program.ConfigHelper.BibleImage = images.SelectedItem.ImageId;

                proj.UpdateBackgroundImage(images.SelectedItem.FullSizeImage);
            }
#endif
        }
Example #4
0
        private void btnImage_Click(object sender, EventArgs e)
        {
#if DEMO
            new DemoVersionOnly("Changing background").ShowDialog();
#else
            ImageSelection images = new ImageSelection();
            if (DialogResult.OK == images.ShowDialog())
            {
                proj.UpdateBackgroundImage(images.SelectedItem.FullSizeImage);
                Data.Songs.UpdateSongBackground(proj.currentSong.AutoNumber, images.SelectedItem.ImageId);
                proj.currentSong.Image = images.SelectedItem.ImageId;
            }
#endif
        }
        private void btnImage_Click(object sender, EventArgs e)
        {
#if DEMO
            new DemoVersionOnly("Changing background").ShowDialog();
#else
            ImageSelection images = new ImageSelection();
            if (DialogResult.OK == images.ShowDialog())
            {
                proj.UpdateBackground(images.SelectedItem.ImageId);
                proj.RefreshUI();
                proj.dirty = true;
            }
#endif
        }