菜鸟问题:单击from1中的button1时弹出from2,button1的Click事件中应该怎么写?
C#   菜鸟问题:单击form1中的button1时弹出form2,button1的button1_Click事件中应该怎么写?       
 我写Form2.Active();      提示错误:‘..form2’并不包含‘Active’的定义, 
 写成   Form2.ActiveForm;   提示错误:      只有   assignment、call、increment、decrement   和   new   对象表达式可用作语句。 
          怎么回事?   
 有没有像delphi中   form2.Show; 
 C#中应该怎么写?       
 是不是要在form1中引用form2   ,像delphi的unit   ?   Visual   C#中如何引用?   
 这是代码: 
 using   System; 
 using   System.Collections.Generic; 
 using   System.ComponentModel; 
 using   System.Data; 
 using   System.Drawing; 
 using   System.Text; 
 using   System.Windows.Forms;   
 namespace   yyct 
 { 
             public   partial   class   Form1   :   Form 
             { 
                         public   Form1() 
                         { 
                                     InitializeComponent(); 
                         }   
                         private   void   button1_Click(object   sender,   EventArgs   e) 
                         { 
                                     Form2.ActiveForm; 
                         } 
             } 
 }   
------解决方案--------------------Form2 form = new Form2(); 
 form.SHow();
------解决方案--------------------你要先实例化
------解决方案--------------------首先要将Form2实例化 
 Form2 F2=new Form2(); 
 F2.Show(); 
 ...
------解决方案--------------------简单点的   
             Form2 f2 = new Form2(); 
             f2.Show();
------解决方案--------------------如果只允许一个实例   
         Form2 f2 = null; 
         private void button3_Click(object sender, EventArgs e) 
         { 
             if (f2 == null || f2.IsDisposed) 
             { 
                 f2 = new Form2(); 
                 f2.Show(); 
             } 
             else 
             { 
                 f2.Activate(); 
             } 
         }