Windows 应用商店 8.1 和 System.Windows.Forms [英] Windows Store 8.1 and System.Windows.Forms

查看:37
本文介绍了Windows 应用商店 8.1 和 System.Windows.Forms的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我尝试为 Windows 8.1 制作电池应用程序(C#、商店应用程序)(我使用的是 VS2013,也尝试了 VS2012,结果相同).事实证明,我需要向项目添加一个引用 - 但我无法在引用管理器中添加任何内容:它说所有框架程序集都已被引用".而我所需要的只是获取 System.Windows.Forms - 当我搜索它时,什么也没有出现.

Recently, I tried to make a battery app (C#, store app) for Windows 8.1 (I am using VS2013, tried also VS2012 with the same result). As it turned out, I need to add a Reference to the project - but I cannot add anything in Reference Manager: it says "All of the Framework assemblies are already referenced". And all what I need is to get System.Windows.Forms - when I search for it, nothing appears.

任何想法,我能做什么?(如果我忘记了一些重要的东西,请告诉我)

Any ideas, what can I do? (Please tell me if I forgot something essential)

推荐答案

Windows 应用商店应用程序是在新技术堆栈上从头开始构建的,因此 Windows 窗体和 WPF 不是 Windows 应用商店应用程序的一部分.

Windows Store Apps are build, from scratch, on new technology stack , So Windows Form and WPF are not part of Windows Store apps.

  • Windows 商店应用程序和 Windows 窗体应用程序有不同的设置API.
  • Windows 商店应用程序过去被称为 Metro 应用程序,现在他们一直在合并这些内容(不想深入细节).

这将提供有关这项新技术的基本知识

因此,以上只是有关差异的一些小提示.实际上,这里不可能解释所有的东西.只是探索.

So, above are the just a small hints about the differences. Actually, It is not possible to explain all the stuff here. Just explore.

这篇关于Windows 应用商店 8.1 和 System.Windows.Forms的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆