//============================== void DeleteMail() { UIHelper.LoadingPanelIsOpen(true); _ids = _model_notificationGroup.CollectCanBeDelIds(); PBConnect_delNotify.RESULT r = PBConnect_delNotify.DelNotification(_ids, OnDeleteMail); switch (r) { case PBConnect_delNotify.RESULT.CANT_DEL: Trace.trace("DeleteMail CANT_DEL", Trace.CHANNEL.UI); break; case PBConnect_delNotify.RESULT.OK: Trace.trace("DeleteMail OK", Trace.CHANNEL.UI); break; } }
void DeleteMail() { UIHelper.LoadingPanelIsOpen(true); ids[0] = _notify.notifyId; PBConnect_delNotify.RESULT r = PBConnect_delNotify.DelNotification(ids, OnDeleteMail); switch (r) { case PBConnect_delNotify.RESULT.CANT_DEL: Trace.trace("DeleteMail CANT_DEL", Trace.CHANNEL.UI); UIHelper.LoadingPanelIsOpen(false); break; case PBConnect_delNotify.RESULT.OK: Trace.trace("DeleteMail OK", Trace.CHANNEL.UI); break; } }