Beispiel #1
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            Form form = new AddPicture(m_app, 0xffff);

            form.ShowDialog();
            if (form.DialogResult == DialogResult.OK)
            {
                RefreshPictures();
                PicUpdate(null, null);
            }
        }
Beispiel #2
0
        private void btn_Insert_Click(object sender, EventArgs e)
        {
            if (DImgPic == null)
            {
                return;
            }

            Form form = new AddPicture(m_app, DImgPic.No);

            form.ShowDialog();
            if (form.DialogResult == DialogResult.OK)
            {
                RefreshPictures();
                PicUpdate(null, null);
            }
        }
Beispiel #3
0
        private void btn_Replace_Click(object sender, EventArgs e)
        {
            if (DImgPic == null)
                return;

            Form form = new AddPicture(m_app, DImgPic.No);
            form.ShowDialog();
            if (form.DialogResult == DialogResult.OK)
            {
                m_app.DeletePicture(DImgPic.No + 1);
                RefreshPictures();
                PicUpdate(null, null);
            }
        }
Beispiel #4
0
 private void btn_Add_Click(object sender, EventArgs e)
 {
     Form form = new AddPicture(m_app, 0xffff);
     form.ShowDialog();
     if (form.DialogResult == DialogResult.OK)
     {
         RefreshPictures();
         PicUpdate(null, null);
     }
 }