private void toolStripItemUndo_Click(object sender, EventArgs e) { if (mChanged.Contains(mEditorItem) && mEditorItem != null) { if (DarkMessageBox.ShowWarning( Strings.ProjectileEditor.undoprompt, Strings.ProjectileEditor.undotitle, DarkDialogButton.YesNo, Properties.Resources.Icon ) == DialogResult.Yes) { mEditorItem.RestoreBackup(); UpdateEditor(); } } }