为什么这样做不行  解决就散分
想把Form1的textBox1值放到类中   在从类中取出放到Form2中 
 Form1的代码 
 Class1   c1   =   new   Class1();		 
 c1.T=textBox1.Text; 
 类中的代码 
 private   string   t;    
 public   string   T 
 {    
 get   {   return   this.t;   }    
 set   {   this.t=   value;   }    
 }    
 Form2的代码 
 Class1   c1   =   new   Class1(); 
 textBox1.Text=c1.T;
------解决方案--------------------应用Delegate
------解决方案--------------------这样当然不行啦。   
 Form2的代码 
 Class1 c1 = new Class1(); 
 textBox1.Text=c1.T;   
 c1才创建,当然没有值啊。 
 如果是Form1里打开Form2,可以在Form2的代码里增加一个公开函数,用来接受Text。Form1调用这个函数,给Form2赋值。
------解决方案--------------------這樣的方式也可以存儲數值,但是存儲的時候,要設置 靜態(static) 變量, 
 這樣才不會每次實例化的時候。。。。。。 
 ------- 
 try 
 ---- 
 Form1的代码 
 //Class1 c1 = new Class1();		 
 Class1.T=textBox1.Text; 
 类中的代码 
 private string t;  
 public static string T 
 {  
 get { return this.t; }  
 set { this.t= value; }  
 }  
 Form2的代码 
 //Class1 c1 = new Class1(); 
 textBox1.Text=Class1.T; 
------解决方案--------------------up
------解决方案--------------------顶一下.
------解决方案--------------------哦对了..我忘了... 
 用静态 
 类中的代码 
 public static string t =  " ";      
 Form1  		 
 直接Class1.T=textBox1.Text;     
 Form2的代码 
 textBox1.Text=Class1.T; 
 这样就可以了
------解决方案--------------------帮顶一下
------解决方案--------------------哦对了..我忘了... 
 用静态 
 类中的代码 
 public static string t =  " ";      
 Form1  		 
 直接Class1.T=textBox1.Text;     
 Form2的代码 
 textBox1.Text=Class1.T; 
 这样就可以了 
 --------------------------------------- 
 中