试图让表单在c#中打开另一个表单 [英] Trying to make a form open another one in c#
本文介绍了试图让表单在c#中打开另一个表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试在c#中打开另一个表单,
private void linkLabel1_LinkClicked( object sender,LinkLabelLinkClickedEventArgs e)
{
new Form3()。Show();
}
您必须选择一个选项或退出表格才能使用主要表格2?
Trying to make a form open another one in c#,
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
new Form3().Show();
}
and you have to either choose an option or exit the form to use form 2 which is the main one ?
推荐答案
您是否尝试打开对话框表单?
Are you trying to open a dialog form?
Form3 myDialog = new Form3();
myDialog.ShowDialog();
这篇关于试图让表单在c#中打开另一个表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文