Beispiel #1
0
 private void saveROMAs_Click(object sender, EventArgs e)
 {
     AppControl.WriteToROM();
     if (AppControl.SaveRomFileAs())
     {
         UpdateRomInfo();
         mruManager.Add(AppControl.GetPathWithoutFileName() + AppControl.GetFileNameWithoutPath());
         settings.Save();
     }
     else
     {
         MessageBox.Show("Lazy Shell could not save the ROM.\n\nMake sure that the file is not currently in use by another appliaction.", "Lazy Shell", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }