I have developed a method that helps me. It's a form of meditation. What I do is sit down with my legs crossed and focus on breathing in a slow manner. What happens with anxiety or panic moments is that my heart rate goes up, so that can lead to breathing problems; especially the feeling that I am unable to get a deep breath (it's kind of scary how accurately your symptoms seems to match mine). If I can control my breathing, my heart rate goes down and I begin to feel more calm.

So yeah, I just slow down my breathing pattern and assure myself that I'm going to get through this. It's like opening up a window in a room full of smoke; slowly, but surely, it will be OK. You may not be able to find a place to sit and close your eyes if you have an anxiety attack while you're working, so, perhaps you could notify a co-worker about it. He/she can help you through it, perhaps.