void HandleRenameVersionCommand (object obj, EventArgs args) { PhotoVersionCommands.Rename cmd = new PhotoVersionCommands.Rename (); cmd.Execute (Database.Photos, CurrentPhoto, main_window); }