void imageContextEdit_Click(object sender, EventArgs e)
{
string ImgID = ((sender as ToolStripMenuItem).GetCurrentParent() as ContextMenuStrip).SourceControl.Name;
if (db.GetRows("select img_path from images where img_id = " + ImgID))
{
ProcessStartInfo startInfo = new ProcessStartInfo(db.DataDirectory + db.GetCell(0, "img_path"));
//startInfo.Verb = "edit";
Process.Start(startInfo);
DialogResult myResult = MessageBox.Show("Launching Image Editor. After editing, click OK to reload images.", "Edit Image", MessageBoxButtons.OKCancel, MessageBoxIcon.None);
if (myResult == System.Windows.Forms.DialogResult.OK)
{
RefreshCharList();
}
}
}