Do simple Windows Forms/WPF apps work on Windows 8 for tablets?
I'm developing a C# .NET business application that needs to work on Windows 7, Windows 8 and Windows 8 Tablet.
- Do "simple" Windows Forms applications work on both Windows 8 desktop and tablet?
- Is there a Windows 8 Tablet emulator?
- Are there any alternatives?
- Yes, regular ol' windows forms will work on Windows 8. They'll work on whatever operating system supports your target .NET Framework version. They may not run on the Windows RT tablet, but tablets running full Windows 8 will be fine.
- There's no tablet emulator, but you can get Windows 8 running on an HP Slate 500, or (what I'm doing) run Windows 8 with touch control via Parallels on an iPad.
- You can develop your app in Silverlight/WPF and have it work well in Windows 7 and 8, but also Windows RT (for ARM tablets). Or HTML5 apps are an option as well.
Windows 8 will still have win32, so all your applications which are win32 based example winform, C++, COM application will still run fine without recompiling. However Win32 will not be present on surface tablets, so they would not run there. You will have to recode your application using metro style which will intern use WinRT (windows runtime).
For details refer to my blog on windows 8
See, Windows 8 has 2 Versions RT/ PRO . The tablets that support RT wont run any Legacy Desktop apps(Your Winforms is a desktop App) . they would only run Windows Store Apps downloaded from Store .
You can always make a desktop version of Windows 8 app but that would run on windows 8 Pro Machines
To answer part two of your question, splashtop has a Windows Metro Testbed that can be used on an ipad or Android tablet to remote into windows 8 and test the touch interface.
The WinForms come under the category of desktop apps so any Machine with windows Pro installed , either it is a tablet or PC would run it. Tablets installed with WinRT won't support it as they run only Store apps
For part 2: Visual Studio 2012 has a built in simulator for testing Windows Store Apps, it provides methods to test any touch gesture and also allows for different screen resolutions and orientations.
This simulator can be used to test any application however. To launch the simulator, open "Program Files\Common Files\microsoft shared\Windows Simulator\11.0\Microsoft.Windows.Simulator.exe", alternatively search for the executable file.
Now inside the simulated environment navigate to the application you wish to test and run it.
This is not perfect but it works.