drawing gradient title bar

How I can draw the title bar of the win form with the gradient? Thank you very much in advance

Loader.
Up arrow icon