This project is read-only.

in .NET compact 2.0?

Jan 11, 2010 at 11:31 AM


I have tried this with .NET compact 2.0. It does not work, right?


Thanks in advance.

Jan 25, 2010 at 9:25 PM

to viuto

I've tried this with .net cf 2.0 too. It works perfectly.
To force it to work you can do some things as I did:

1. Create new smart device solution for net cf 2. Choose your device type (i've tested it on WM 2003). Create the projects.

2. Create all needed files, copy code and images from these projects (You can copy files and than choose "add existing item" in VS).

3. Remove reference to System.Linq namespace from TouchUI project code.

4. Remove reference to System.Linq namespace from Sample project code.

Due to such fact that List<T> enumerator in Net 2.0 doesn't implement  Last() method you must rewrite some code in MainForm class.

Instead dialogStack.Last() you should use your own implementation of this method. I've created a new static class in my namespace.

It contains only one method: Last().  I found a sample code here:

I hope this information is helpful.