A用户控件包含B用户控件,在B里头如何取得A控件

A用户控件写属性访问器公开textbox  
   
  //   A中  
  public   TextBox   GetTextBox  
  {  
  get  
  {  
  return   textbox1;  
  }  
  }  
   
  //B中调用  
  A.GetTextBox
posted @ 2008-07-16 17:56  小伙子  Views(163)  Comments(0Edit  收藏  举报