Speed and Colour Buttons

  • Thread starter Thread starter Zahid
  • Start date Start date
Z

Zahid

Hi,

I am having a problem making a design decision for my
VB.Net CF application.

My application will have a menu in the form of buttons on
a screen. Users select items from the menu by clicking on
the button. The standard CF button control does not have
the color property so im looking for alternatives. Ive
tried the Picture button (Graphics act as a button) from
the gotdotnet website but the application runs very slow
each when i start using more that 15 buttons.

Some buttons will act as links to sublists so when
clikcked they will load another form with more buttons.
On that form will appear more buttons as menu items and
each button is color coded so potentially every button
could be a different colour.

Is there a faster alternative to using graphics? Can
another control be used instead? Im looking to simulate a
button control.

This problem needs Urgent solution. All advice and help
is appreciated.

Thanks in advance.
 
Take a look at http://www.opennetcf.org/forms.asp It has a button class but
is unfinished. Also this article may help
http://smartdevices.microsoftdev.com/Learn/Articles/509.aspx

As for performance take a look at this article
http://smartdevices.microsoftdev.com/Learn/Articles/565.aspx. Also you may
want to look at using Panels instead of loading a form all the time. If you
still want to use forms take a look at this article which uses a form
caching system http://smartdevices.microsoftdev.com/Learn/Articles/505.aspx.

HTH
Mark Arteaga
www.clearknowledge.com
 
Hi Mark,

Thanks for your help. I have had a look at the links you
provided. Most of the code is in C#. Im writing my app
in VB.Net....

Im getting a perception that C# is more powerful than
VB.Net and it should be used instead of VB.NET? Most code
examples on most websites give that impression as C# code
is always given sometimes in preference to VB.Net. Is
that your impression too?

Thanks in advance.
 
Hi Mark,

Thanks for your help. I have had a look at the links you
provided. Most of the code is in C#. Im writing my app
in VB.Net....

Im getting a perception that C# is more powerful than
VB.Net and it should be used instead of VB.NET? Most code
examples on most websites give that impression as C# code
is always given sometimes in preference to VB.Net. Is
that your impression too?

Thanks in advance.
 
Back
Top