本文介绍了重叠两种形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设我有两种形式,即登录表单和主表单.我想从重叠中查看...当我运行解决方案时,我想查看登录表单和背后的主表单..当我输入ID和密码时,我希望登录消失,只有主表单保留..为我提供代码....
suppose i have two forms i.e. login form and main form. i want to see the from overlapping... when i run the solution i want to see login form and main form behind it..and when i type id and password i want login for to disappear and only main form remains.. can anybody provide me code for that....
推荐答案
loginform objLogin = new loginform();
objLogi.show ();
如果是asp.net
在主表单页面加载时执行此脚本
in case of asp.net
execute this script on page load of main form
window.open("loginform.aspx"
有关更多详细信息的编码,请与您的代码分享更多详细信息.
如果您发现这很有用,请不要忘记单击接受"作为答案:)
for more detail coding share more details abtt your code.
dont forget to click on accept as answer if you have found this useful :)
这篇关于重叠两种形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!