I would just be there to listen whenever she wants to talk, which might be at surprising times, so be very sensitive to any signals that she is starting to open up in case you interrupt with something else and put her off. I would also strongly recommend putting her in touch with the uni counsellor asap - as this is the second time it has happened and it was, I presume, a big shock, she should ideally have professional support. If she's really averse to the idea then bear in mind what I've just said - that she will be in shock, even if perhaps she had an inkling it was on the cards. Don't expect her to cry for a good couple of days, although she might.
The nature of grief is that it comes in waves and may hit her at unexpected or unlikely times. Similarly she may feel numb or even indifferent at other times and make it clear that she isn't to feel guilty about that - it's perfectly natural. She might also feel angry that her friend has left her this way, and again that's natural and will probably pass, at least in its most raw form. Once she's over the very first of the shock, e.g. in a couple of weeks, she might find it helpful to talk about the good times, and perhaps write some of them down, stick pictures in a scrap book etc.
Probably the most important thing is that you make absolutely sure the university is aware of her situation, as it is inevitable that it will interfere with work and she will need time off for the funeral, perhaps to spend time with her family etc. Lastly I would encourage you, hard though it will be, to suspend your own feelings for a little while. She'll be feeling so anguished and mixed up that it's very possible she'll lash out, even if you're only trying to help, so you mustn't take it personally - if she says something nasty, just count to three, take a deep breath and give her a hug because it's probably when she's feeling at her most out of control. Just remember that it's not because she's actually angry at you, she's angry at life and you can't change that. It's only natural to feel a bit resentful about all this, and think "what about me?" but just remind yourself that it's not permanent and you are not suffering the way she is, and as you have said yourself, she may well be vulnerable to suicidal thoughts as well at a time like this. This will be a true test of your friendship but if you can support her through it you will reap the benefits at the other end because she'll surely remember how you stood by her.