表格名称 [英] Form name

查看:104
本文介绍了表格名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!我需要一些帮助。我是学生,我有一个学校项目(一个Windows窗体程序)。我有一个登录表单,您使用该表单登录应用程序(全部使用数据库),如果您通过验证,则会显示一个新表单。要知道登录的是哪个
帐户,我在第二个表单的文本中输入一个键(form2.Text =" something"),在打开第二个表单后,我可以通过该键知道登录了哪个帐号。但之后我不能使用那个form2.Text。你能帮我解决这个问题
还是给我另一种方法来解决这个问题? (我真的很抱歉我的英语不好)

解决方案

嗨Cojocaru Eugeniu,


由于这是Windows论坛开发的问题,我帮助您将其移至Winforms论坛,在那里您将得到专门的支持。


最好的问候,


杰克


Hi! I need a little bit of help. I'm a student, and I have a project for school( a windows form program). I have a login form, with which you login in the application(all using database) and if you pass the verification a new form appear. To know which account logged in I attribute to the second form's text a key (form2.Text="something") with which I can know which account logged in, after opening the second form. But after that I cannot use that form2.Text. Can you please help me with that problem or give me another approach to the problem? (I'm really sorry for my bad English)

解决方案

Hi Cojocaru Eugeniu,

Since it was the Windows Forum developing issue, I help you move it to the Winforms forum, there you would get dedicated support.

Best Regards,

Jack


这篇关于表格名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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