简体   繁体   English

Windows 8桌面应用程序和Windows 8商店应用程序

[英]Windows 8 Desktop app and Windows 8 Store app

I'm starting to develop Windows 8 app with Visual Studio 2013 and I'm not sure which are the different betweens a desktop app with a store app. 我开始使用Visual Studio 2013开发Windows 8应用程序,但不确定桌面应用程序与商店应用程序之间的区别是什么。

Using Visual Studio 2013, how can I develop a W8 desktop app? 使用Visual Studio 2013,如何开发W8桌面应用程序? and a store app? 和商店应用程序?

My app is going to use InApp purchase. 我的应用将使用InApp购买。 Can I use it on a Windows 8 Desktop app? 我可以在Windows 8桌面应用程序上使用它吗?

I'm going to use C#. 我将使用C#。 A Windows 8 desktop app is a WPF app? Windows 8桌面应用程序是WPF应用程序吗?

On a WPF app, can I use common gestures like tap, pinch, etc? 在WPF应用程序上,我可以使用常见的手势,例如点击,捏等吗?

Desktop apps on Windows 8 are everything you know about apps from Windows 7. Furthermore, Windows 8 brings a new type of apps - the Windows Store Apps (WinRT apps) which are the ones run on fullscreen or snapped (term bit forced on 8.1) which use the WinRT API (XAML based, similar to WPF, brings new things, but doesn't have all WPF can offer; also you can use HTML + JavaScript for WinRT Apps) Windows 8上的桌面应用程序是有关Windows 7应用程序的所有知识。此外,Windows 8带来了一种新型应用程序Windows Store Apps (WinRT应用程序),这些应用程序在全屏模式下运行或已捕捉(要求在8.1上强制启用)使用WinRT API(类似于WPF的基于XAML的功能,带来了很多新功能,但WPF并没有提供所有功能;您还可以将HTML + JavaScript用于WinRT Apps)

Now, in VS 2013, if you want to create a desktop app - choose the templates related to WinForms or WPF (just like before). 现在,在VS 2013中,如果要创建桌面应用程序,请选择与WinForms或WPF相关的模板(就像之前一样)。 To create the Windows Store Apps, chose Windows Store section of Templates, and then select your app template (Grid App, Blank App etc) 要创建Windows应用商店应用,请选择模板的Windows Store部分,然后选择您的应用模板(网格应用,空白应用等)

A desktop app will respond to touch gestures on a touch-screen based device because it will replace the cursor actions from the desktop. 桌面应用将响应基于触摸屏的设备上的触摸手势,因为它将替换桌面上的光标操作。 But for specialized gestures, I'd suggest the Windows Store Apps. 但是对于特殊手势,我建议使用Windows Store Apps。

Summarized : Desktop Apps - everything is the same, just like Windows 7. Windows 8 Apps - the Windows Store apps developed with the WinRT API. 总结:桌面应用程序-一切都一样,就像Windows7。Windows 8应用程序-用WinRT API开发的Windows Store应用Windows Store应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM