private void openContainingSeriesToolStripMenuItem_Click(object sender, EventArgs e) { try { frmSeriesControl frmsc = new frmSeriesControl(DBC, SC, "Delete"); if (frmsc.ShowDialog() == DialogResult.OK) { picLstResults.Items.Clear(); viewAllImages(); } } catch (Exception ex) { MessageBox.Show( ex.Message, "Error Starting Deletion Process", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void rbnBtnModifyImg_Click(object sender, EventArgs e) { try { frmSeriesControl frmsc = new frmSeriesControl(DBC, SC, "Modify"); if (frmsc.ShowDialog() == DialogResult.OK) { picLstResults.Items.Clear(); viewAllImages(); } } catch (Exception ex) { MessageBox.Show( ex.Message, "Error Starting Modification Process", MessageBoxButtons.OK, MessageBoxIcon.Error); } }