he :)
Thank you everybody for replies, I'll try to solve the problem with background threads, this seems to be what I need.
The problem was as follows: when calculations begin, the winform looks ok, even progressbar works, but once I drag the window to another location on the screen, or...