private void mnuMainEditImage_Click(object sender, EventArgs e)
{
if (GlobalSetting.IsImageError)
{
return;
}
string filename = GlobalSetting.ImageList.GetFileName(GlobalSetting.CurrentIndex);
Process p = new Process();
p.StartInfo.FileName = filename;
p.StartInfo.Verb = "edit";
//show error dialog
p.StartInfo.ErrorDialog = true;
try
{
p.Start();
}
catch (Exception)
{ }
}