TechnoTone
Well-known member
I havent had very much experience with graphics so please bear with me.
Heres what Im trying to do. I have two TrackBar controls, trackStart and trackStop. These represent Start time and Stop time. They are horizontal TrackBars, one directly above the other.
Between these two controls I want to draw a coloured bar indicating the running time (time between the Start and Stop times). How should I do this?
I thought that I should place a PictureBox between the TrackBars which displays a Bitmap object. Im confident that I can figure out the coordinates that I need to get the results I want but Im having difficulty working out how to paint onto the Bitmap object and then display it.
Any pointers?
Heres what Im trying to do. I have two TrackBar controls, trackStart and trackStop. These represent Start time and Stop time. They are horizontal TrackBars, one directly above the other.
Between these two controls I want to draw a coloured bar indicating the running time (time between the Start and Stop times). How should I do this?
I thought that I should place a PictureBox between the TrackBars which displays a Bitmap object. Im confident that I can figure out the coordinates that I need to get the results I want but Im having difficulty working out how to paint onto the Bitmap object and then display it.
Any pointers?