以下是我的方法,没有把问题解决。(我用了线程,但是From1窗口隐藏不了,不知为什么?)
namespace 线程学习1
{
public partial class Form1 : Form
{
public Thread thread1;
public Thread thread2;
public Form1()
{
InitializeComponent();
thread1 = new Thread(bnt_work);
thread2 = new Thread(showork);
thread1.IsBackground = true;
}