标签显示消息。 [英] Label displaying Message.

查看:77
本文介绍了标签显示消息。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能帮助我吗?我试图使用标签显示消息,但我希望每次单击按钮(下一个或上一个按钮)时更新消息。我正在考虑使用Switch Case但是,它并没有完全正常工作。所有我想要的是
,单个窗体表格使用上一个和下一个按钮显示消息。这些消息将采用树或流程图的形式。这意味着所有消息都是相关的,并且会有一些是或否的答案,以便进入下一个级别。 
如果有人知道如何处理这个问题,请告诉我,我会非常感激。谢谢

解决方案

我正在尝试使用标签显示消息,但我想在每次单击按钮时更新消息(下一个或上一个按钮) 。

我假设你知道这是
   Label1.Text ="消息"


包含 在按钮单击事件处理程序方法将执行您所描述的。因此,问题必须在"所有消息都是相关的,并且为了进入下一级别,将存在一些是或否的答案"。这意味着不是
只会改变消息,但是应用程序逻辑必须有一些变化才能允许/阻止某些进一步的操作。  但是,您提供的信息太过模糊,无法提供有用的建议。 只讨论问题的一部分,
提供你需要做什么,你已经尝试过什么以及为什么它不起作用的完整细节。


Can you someone help me? I am trying to display messages using a label but i want the message to update every time i click a button (Next or Previous button). I was thinking about using Switch Case However, it is not quite working. All i want to is on a single windows form display messages using a previous and next button. These message will be in a form of tree or flowchart. What that means is all the message are related and there will some yes or no answer in order to proceed to the next level.  If someone have an idea on how to approach this please let me know I would much appreciate it. Thank you

解决方案

I am trying to display messages using a label but i want the message to update every time i click a button (Next or Previous button).

I am assuming you know that
   Label1.Text = "Message"

included  in the button click event handler method would do what you have described. So the problem must be in "all the message are related and there will some yes or no answer in order to proceed to the next level" which implies that not only does the message change, but there must be some change in the application logic to allow/prevent some further action.   But the information you have provided is far too vague to allow useful advice.  Take one part of the problem only and provide full details for what you need to do, what you have already tried, and why it didn't work.


这篇关于标签显示消息。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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