Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do simple Windows Forms/WPF apps work on Windows 8 for tablets?

Tags:

I'm developing a C# .NET business application that needs to work on Windows 7, Windows 8 and Windows 8 Tablet.

  1. Do "simple" Windows Forms applications work on both Windows 8 desktop and tablet?
  2. Is there a Windows 8 Tablet emulator?
  3. Are there any alternatives?
like image 733
elranu Avatar asked Jul 18 '12 19:07

elranu


People also ask

Is it possible to use Windows form in WPF application?

You can use the WindowsFormsHost to add single Forms into an WPF application.

Should I use WinForms or WPF?

Winforms vs WPF both are mainly used for the same purpose for developing and designing windows applications, but WPF can be used for the web application. The difference between them is scalability, performance as WPF can render fast compared to windows forms, complexity, and support.

Does Microsoft support WinForms?

Windows Forms (WinForms) is a free and open-source graphical (GUI) class library included as a part of Microsoft .


2 Answers

  1. 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.
  2. 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.
  3. 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.
like image 114
gws2 Avatar answered Sep 27 '22 20:09

gws2


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

like image 23
Pradeep Avatar answered Sep 27 '22 20:09

Pradeep