Example #1
0
        private void Picture3_DoubleClick(object sender, EventArgs e)
        {
            var form = new ModifyPictureForm(m_Image3);

            if (form.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            m_Image3 = form.image;
            if (m_Image3 == null)
            {
                Picture3.BackgroundImage = null;
            }
            else
            {
                Picture3.BackgroundImage = ReturnPhoto(m_Image3);
            }

            set_btn_status();
        }
Example #2
0
        private void Picture3_DoubleClick(object sender, EventArgs e)
        {
            var form = new ModifyPictureForm(m_Image3);
            if (form.ShowDialog() != DialogResult.OK)
                return;

            m_Image3 = form.image;
            if (m_Image3 == null)
                Picture3.BackgroundImage = null;
            else
                Picture3.BackgroundImage = ReturnPhoto(m_Image3);

            set_btn_status();
        }