如何在向导的下一页显示日志 [英] How to bring up a log on the next page of a wizard

查看:50
本文介绍了如何在向导的下一页显示日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个自定义向导,可以在该向导上获取有关用户想要执行的操作的信息.在向导的最后一页上,我想显示用户输入的所有信息.此数据被写入文本文件,并应在最后一页上读取和显示.我尝试过其他方法来做到这一点,但是没有运气.
因此,我的问题是进入最后一页时如何显示要执行的操作.

I have created a custom wizard on which I get information on what the user wants to do. On the final page of the wizard I want to show all the information the user entered. This data is writin to a text file and is supposed to be read and displayed on the final page. I have tried different ways to do this with no luck.
So my question is how do I get to show the actions to be taken when I enter the final page.

推荐答案

如果您的问题是从文件中读取数据,您可以为此目的使用例如StreamReader,请参阅: http://msdn.microsoft.com/zh-我们/library/db5x7c0d.aspx [ ^ ].

您如何呈现数据是另一个问题.如果文件仅包含有关在此过程中所做选择的信息,则可以放置一个漂亮的树状视图以显示按相关组分组的不同选择,就像目录(例如基于页面或即将执行的操作)一样.
If your problem is reading the data from the file, you can use for example StreamReader for the purpose, see: http://msdn.microsoft.com/en-us/library/db5x7c0d.aspx[^].

How do you present the data is a different issue. If the file contains only information about the choices made during the process, you could put a nice treeview to show different choices grouped in relevant groups, just like directories (for example based on the pages or forthcoming actions).


这篇关于如何在向导的下一页显示日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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