Reputation: 188
I have a vs2017 win forms application.
Would it run on a windows tablet? Do I need to change or add anything to it to make it tablet compatible? How would it handle touch input? Would it just consider it the same as a mouse click? Would it run on an android tablet? Is it possible to port it to android tablet somehow or do I need to develop a separate application for android something like a xamarin app?
These might seem like stupid question but I really have no idea how win forms application react to tablet and I don't have a table to test it on.
Upvotes: 1
Views: 2345
Reputation: 8834
Windows Forms runs on a Windows 10 tablet like it does on the desktop. This means the following:
Other than that, there are of course design decisions to be made with the UI. Basically all of the Windows Forms controls are not very touch friendly and are made for classic mouse and keyboard interaction.
If you still have the choice, use UWP if you only need to target Windows 10, which in term uses WPF technology. If you need to support older systems, use WPF directly.
Upvotes: 4