Because Microsoft is so powerful, you copy the source code of WP7 without modifying the source code of a line, compile it, and run OK?
This may only exist in the utopia of the program.
First, a compilation gave me a lower limit with 119 errors. Shit. No way, change it... Later, I found out that the compiler should not be blamed. Most of them are named by myself. But two errors make me
The memory is still fresh. One is system. Windows. UI. imaging, which is available in the Silverlight web. Later I changed to system. Windows. Media. imaging,
This is the case with system. Windows. Media. imaging. bitmapimage on msdn.
Provides a dedicated imagesource for loading image optimization using eXtensible Application Markup Language (XAML.
Another depressing thing is that image does not have the mouseleftbuttonup or mouseleftbuttondown event. This is a good user experience. What to do.
I found two solutions, one of which redefined two extended events for the image. But the image is sealed! One is tapped and the other is tapped.
Righttapped event. In this way, you can play. However, the user experience is too bad. You can click the right button to delete it.
In this way, the compilation is successful, and there is another tricky problem. I cannot load the image. At first, I set the image to a relative path. This error is always included;
The specified system. Uri cannot be converted to Windows. Foundation. Uri. For more information, see http://go.microsoft.com/fwlink? Linkid = 215849.
Error:
Later, Google decided to have an absolute path. However, I started to use c: \ llk \ resources.
Finally, I published the HTTP path through IIS. The final source code is "http: // localhost/resources/" + item. img
So there is OK, the two errors are bigger than the demo itself.
In fact, it doesn't make much sense for the project owner to do. The key is how many errors you solve and how many errors you have solved. This is what your experience is. Both work and study are the same.