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

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

于 2022-03-07 发布 文件大小:71.21 kB
0 198
下载积分: 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 个回复

  • webbroser 导航错误、屏蔽弹出页封装
    windows  wpf/win form下 webbrowser 控件扩展,扩展封装了如404,503等错误事件处理、同时还封装了页面弹出窗口(a标签target=blank打开方式等)的拦截,实现屏蔽弹出窗口。
    2022-04-12 08:48:36下载
    积分:1
  • paper tray contains programming information mapping, timer settings and applicat...
    文件包含有托盘编程,消息映射,定时器的设置与应用,定时关机,注销,重启,断电等功能-paper tray contains programming information mapping, timer settings and applications Mytob.BSNotes, cancellations, the resumption of functions such as power outages
    2022-04-08 13:51:40下载
    积分:1
  • 本程序是使用 TURBO C 语言BOSS窗口程序库的应用程序。
    本程序是使用 TURBO C 语言BOSS窗口开发程序库的应用程序。-This is an application program developped by TURBO C and BOSS windows developping application library.
    2022-08-11 04:20:05下载
    积分:1
  • 往手机通讯录里添加图片的一个好程序,是微软智能手机学习的好例子...
    往手机通讯录里添加图片的一个好程序,是微软智能手机学习的好例子-Mobile phone address book to add a good picture of the process, is Microsoft" s smart phone to learn a good example of
    2022-02-14 19:54:16下载
    积分:1
  • 使用OpenCV获取优思特网络摄像机的RTSP视频流
    使用OpenCV中的VideoCapture读取网络摄像头的代码,需要3.1以上版本,我使用的是优思特的网络摄像头,其它摄像头可修改RTSP获取地址。
    2023-04-19 13:30:04下载
    积分:1
  • vCard test application
    vCard test application
    2023-05-13 01:35:04下载
    积分:1
  • 手势检测
    这是使用 C.手势检测的源代码。欢迎大家下载、试用。谢谢大家的支持。
    2022-02-26 12:07:55下载
    积分:1
  • 很好的多线程例子。这个例子实现了线程池和工作消费模式
    很好的多线程例子。这个例子实现了线程池和工作消费模式-JobQ.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. JobQ.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CJobQApp application class. JobQ.cpp This is the main application source file that contains the application class CJobQApp. JobQ.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. JobQ.clw This file contains information used by ClassWizard to edit existing classes or add new classes. ClassWizard also uses this file to stor
    2022-02-24 15:16:57下载
    积分:1
  • 这个程序是用C++来实现的最优三角剖分问题。用的是动态规划算法来实现的。...
    这个程序是用C++来实现的最优三角剖分问题。用的是动态规划算法来实现的。-This procedure is used to achieve the C optimal triangulation problem. Using a dynamic programming algorithm to achieve.
    2022-03-16 11:34:05下载
    积分:1
  • 一个收邮件的收程序的邮件
    VC实现的一个EMAIL收发程序-VC of a transceiver procedures EMAIL
    2022-08-25 14:05:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载