如何在Form1_load事件中的Form1中重置标签的文本属性 [英] how to reset text property of label in Form1 in Form1_load Event

查看:141
本文介绍了如何在Form1_load事件中的Form1中重置标签的文本属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我有一个带有LabelControl的Form1.

hello
i have Form1 with a labelControl in it.

label1.text="hello";

我要通过在Form1加载事件中单击并重置label1的text属性来加载Form1:

i want to load Form1 by clicking and reset text property of label1 in Form1 loading event:

label1.text="hello world";


有可能吗?怎么了?
谢谢,


is it possible?How?
thanks

推荐答案

好吧,如果您要重置Form1 Load事件中的文本,那么现在真的没有什么可点击的了? />
您可能想更详细地解释什么时候应该发生什么.例如,您要点击什么?
Well, if you''re resetting the text in the Form1 Load event, there''s really nothing to click on now is there??

You might want to explain in a bit more detail what exactly is supposed to happen when. For instance, WHAT are you clicking on??


这篇关于如何在Form1_load事件中的Form1中重置标签的文本属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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