public EventCommandChangeVital(RestoreMpCommand refCommand, FrmEvent editor)
 {
     InitializeComponent();
     mMyCommand     = refCommand;
     mEventEditor   = editor;
     nudVital.Value = refCommand.Amount;
     InitLocalization();
 }
 private static string GetCommandText(RestoreMpCommand command, MapInstance map)
 {
     if (command.Amount == 0)
     {
         return(Strings.EventCommandList.restoremp.ToString());
     }
     else
     {
         return(Strings.EventCommandList.restorempby.ToString(command.Amount));
     }
 }