ctacke/>
Fri Jan 25 09:50:41 CST 2008
I don't see the events being wired up. Are you sure they are in the
designer code? The event handler method names you have are not the ones
typically auto-generated by the designer. You can always add them
explicitly and see if it works.
--
Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com
<paul.lundin1@gmail.com> wrote in message
news:fa8d2192-4a1d-466d-be03-23a1b825a9e5@f10g2000hsf.googlegroups.com...
> Thanks for the reply.
>
> I have tried both events. This is very frustrating because I must be
> missing something obvious. On both the Windows Mobile 5 emulator and
> a Windows Mobile 5 device the events fire when the ComboBox is
> initialized, but not when it is changed through the UI.
>
> Here's the code:
>
> public partial class Form1 : Form
> {
> public Form1()
> {
> InitializeComponent();
>
> this.comboBox1.DataSource = new String[]{"one", "two",
> "three"};
> }
>
> private void valueChanged(object sender, EventArgs e)
> {
> MessageBox.Show("valueChanged");
> }
>
> private void indexChanged(object sender, EventArgs e)
> {
> MessageBox.Show("indexChanged");
> }
> }
>
> Thanks again.
>