Well as the title says,

I am creating an app for a touchscreen wich is always 1024x786(well not like that is important but ok). I wanted a fancy looking interface so I decided to paint every button and control myself.

To make it full screen I just used a maximized form with no borderstyle(and the esc button to exit). By using the graphics from the paint event I paint my buttons and such things. Now I made a simulation of the numpad and when I press the buttons the form paints them as a string on the screen.

This all works fine except for the fact that I cant actualy see the form repaint when I call form.refresh(). Ofcourse I dont want to repaint the whole form but only that part where I have to repaint my changed text, are there ways to solve this or should I rewrite my program with DirectX/DirextDraw?

Greets