将标签文本从MDI子表单传输到MDI父表单 [英] Transfer Label Text From MDI Child Form To MDI Parent Form

查看:150
本文介绍了将标签文本从MDI子表单传输到MDI父表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我有一个问题



我有一个父表F1,它有一个标签。在表单加载(F1)时,表单F2将出现在表单F1中,而表单F2将出现一个按钮和一个标签,当我点击按钮时,表单F2将隐藏并标记必须复制的文本(F2)标签已存在于表格F1中。



且条件是主要表单F1没有菜单条或其他控件,它不应创建其他实例主要父母表格F1





当我试图将标签文本从MDI子表格转移到MDI父表格时标签数据不是'转移,请帮我解决这个问题





感谢你..



如果你有关于这个问题的代码或项目你可以给我发邮件rajivreddy.j@outlook.com

Hi All
I have a Problem

I have a Parent Form F1 and it has a label. While On Form Load(F1),The form F2 Will be Appeared In Form F1 and That From F2 has a Button and A label , While i was click on button Form F2 will be hide and Label text(F2) that has to be copied to Label that has present in Form F1.

and the condition is the main form F1 doesn't have a menu strip or other controls and it should not create anther instance of Main Parent form F1


while i was trying to Transfer Label Text From MDI Child Form To MDI Parent Form the label data wasn't transferred, Please Help me to solve this problem


Thanking You..

if you have a code or project regarding this problem you can send me mail rajivreddy.j@outlook.com

推荐答案

你好,

i终于找到了一个有用的老帖子!

检查解决方案编号2



如何从C#.net 中的子表单启用父表单中的按钮[ ^ ]



希望有所帮助。
Hi,
i finally found a useful old post!
check the solution number 2

how to enable the buttons which are in parent form from child form in C#.net[^]

Hope it helps.


这篇关于将标签文本从MDI子表单传输到MDI父表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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