Hello,
First things first, i hope i placed this in the good categori.
So my question is , how can i make a progressbar vertical?
I already found some code
public class VerticalProgressBar : ProgressBar { protected override CreateParams CreateParams { get { CreateParams cp = base.CreateParams; cp.Style |= 0x04; return cp; } } }
But the problem here is that the backcolor is not plane white (so the forcolor, green is not really 1 collor) and i was also trying to make it red, i found out that removing this from the program.cs, it is possible to make it red, but all the graphics of buttons,textboxes,listboxes and so on are also changed
Application.EnableVisualStyles();
So, is it possible to make the progressbar vertical, and with a plane red color (when i fill it)?
EDIT: The real thing i want to use this is to make a vertical temperature gauge (with a little reservoir on the bottom) so i can fill it up depending on what meassurement i get from my PIC18F4550 controller
thanks in advance