什么错误?
Form2不知道是如何写的?

解决方案 »

  1.   

    f.label1.Text="Helpful information here";
    f.label1.Text.Refresh();
    调试不成功,然后上面的f.label1.Text和f.label1.Text打上下画线。
      

  2.   

    到Form2中,把他们(label1等)的Modifiers设置为public或者你认为合适的。
      

  3.   

    将:
    Form2 f=new Form2();
    f.Show();
    f.label1.Text="Helpful information here";
    f.label1.Refresh();
    f.Close();
    放到static void Main()中试试.
      

  4.   

    放在Application.Run(new Form1());前面
      

  5.   

    可以了,不过我想在启动窗体1时,窗体2的显示时间要长点,我这样根本就无法看到form2的内容form1就启动了,而form2就关闭了,怎么办?很快结贴了。