2015年1月19日 星期一

UserControl

在UserControl資料夾內加入一個 web使用者控制項 UCTextBox.ascx

召喚方式
UCTextBox c = (UCTextBox)LoadControl(@"UserControl/UCTextBox.ascx");

丟到視窗
this.PanelView.Controls.Add(c);

沒有留言:

張貼留言