public void FunctionReplay(FunctionReplay function, ViaReplay via, string fileName, long fileLength) { if (function != BusinessEntities.FunctionReplay.Erase) { _EngineCmdManager.FunctionReplay(function, via, fileName, fileLength); } else { NotifMsg msg = new NotifMsg(Resources.DeleteSessionGLP, Resources.MessageInfoCaption, Resources.DeleteSessionGLP, 0, MessageType.Information, MessageButtons.OkCancel); _StateManager.ShowUIMessage(msg); } }