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); } }
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); } }
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); } }