Download the source code for the BatteryLife control, this should show you
how to do it:
Windows Embedded MVP
> Hello Chris,
> Thanks a lot for your reply, but I'm not too comfortable in creating
> controls. It be great if you provide some sample code or links which does
> the same. I'll deeply appreciate it.
> Thanks & regards,
> > This is really simple. Make a custom control and use FillRect in the
> > handler for the control.
> > -Chris
> > > Hi All,
> > > I'm creating an application in which I need to display the progress
> > > users using the colored progress bars.
> > > The progress bar available as part of the Compact Framework controls
> > doesn't
> > > have any property by which I can change the colors of the bars
> > > Is there a way where I can do this or do I need to create my own
> > > control?
> > > Any pointers in this direction will be deeply appreciated.
> > > Regards,
> > > Asheesh