登录
首页 » Windows开发 » 适用于 WinRT Phones 和 App 的帮助架构

适用于 WinRT Phones 和 App 的帮助架构

于 2022-03-07 发布 文件大小:71.21 kB
0 299
下载积分: 2 下载次数: 1

代码说明:

翻译 maninwest@Codeforge 作者David Maw @CodeProject一个在 Windows RT 或Windows Phone 中嵌入帮助页面的方式。创建一个 Windows Phone 程序时,我希望能提供一个用户帮户,格式能与设备设置兼容且可灵活应对不同的设备配置。我选择的解决方案是在代码文件中嵌入 HTML 页面,并根据设备设置进行渲染。背景你需要 XAML 和 C# 背景包含什么此代码是个可运行的通用应用,构建于 Windows Modern程序和  Windows Phone 8.1 程序上 -除了运行平台不同外,它们大体是对等的。解压缩文件并加载到 Visual Studio 2013 (我使用的的更新4) ,你应该可以构建它并在设备或者模拟器上运行。 在自己的项目中使用代码要使用该代码,你需要将一些文件复制到你的项目。你需要 Helper.cs, 它不渲染 UI,但是有各种有益的类。你还需要一个实际显示帮助的页面 (复制我的 HelpPage.xaml和 HelpPage.cs 作为开始点).你会希望允许用户在你程序的某个地方导航到帮助页面,为了实现这个功能,添加一个资源 ( HelpViewModel, 见下文) 和一些控件(按钮等)。你需要创建一页或者多页HTML 帮助页面,并将其放置在项目的 "Help"目录下。在你复制的文件中将"UniversalHelp" 替换成你的程序名称。在每一个你想添加帮助控件的页面,你需要添加类似下面的东西: 

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • vpn开发源代码
    delphi版的vpn源码,对你开发连接器有一定的指导作用。基于Delphi实现的VPN拨号器源程序代码,填写VPN服务器IP/域名,帐号密码后自动建立VPN连接,实现拨号!
    2022-02-05 22:18:28下载
    积分:1
  • 学习delphi下使用lua的代码和例子.新手老手都可以
    学习delphi下使用lua的代码和例子.新手老手都可以-Delphi to learn to use lua code and examples. Novice can take a look at old hands
    2022-06-18 22:26:41下载
    积分:1
  • VC编写的拨号程序源代码
    VC编写的拨号程序源代码-VC prepared by the dial-up source code
    2022-03-04 11:57:50下载
    积分:1
  • 15PBc++作业
    vc++如何实现飞信各位兄弟姐妹大家好,我想用vc++实现飞信客户端,跪求弄过飞信的朋友给点思路,如何弄好了,我一定把代码公布出来让大家分享!先谢谢各位了!!解决方案问一下移动是否公布协议,不公布就自己抓包玩玩 解决方案飞信协议是开放的自己到飞信找API 解决方案飞信是C#写的,用reflector反编译一下
    2022-06-30 19:57:54下载
    积分:1
  • 可以SeDebugPrivilege用户权限用打开系统的进程
    可以SeDebugPrivilege用户权限用打开系统的进程-SeDebugPrivilege user permissions can be used to open the process of system
    2022-03-06 01:50:26下载
    积分:1
  • broadcast message through UDP protocol
    broadcast message through UDP protocol
    2022-03-25 21:44:42下载
    积分:1
  • The sample demo workspace includes two projects: DIB Test for Win32 environments...
    The sample demo workspace includes two projects: DIB Test for Win32 environments, and DIB CE for CE environments that demonstrate the DIB wrapper. You will need the CE SDKs from Microsoft to be installed before you can build DIBSectionTestCE.dsw. There is also a version of the DIBSection wrapper ported by Kenny Goers with no dependancies on MFC. This version is currently slightly out of sync with the MFC version, and is provided as a convenience only. -The sample demo workspace includes two projects: DIB Test for Win32 environments, and DIB CE for CE environments that demonstrate the DIB wrapper. You will need the CE SDKs from Microsoft to be installed before you can build DIBSectionTestCE.dsw. There is also a version of the DIBSection wrapper ported by Kenny Goers with no dependancies on MFC. This version is currently slightly out of sync with the MFC version, and is provided as a convenience only.
    2022-02-13 04:08:03下载
    积分:1
  • 大地电磁二维正演有限元程序,可以模拟任意地形
    大地电磁二维正演有限元程序,可以模拟任意地形,可使用初学者学校,并以此作为基础,,使用matlab语言来编写,打发打发大幅度 发送方式
    2022-05-12 14:26:00下载
    积分:1
  • 小广告程序请使用
    小广告程序请使用-small advertising programs use
    2023-08-21 10:25:04下载
    积分:1
  • MFC Expend DLL examples of winxp sp3/vc++ 6.0
    MFC Expend DLL实例 winxp sp3 / vc++ 6.0-MFC Expend DLL examples of winxp sp3/vc++ 6.0
    2022-06-14 06:27:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载