public void ContentFormLoad(string name) { //CategoryListShow(); ContentUserControl cuc = new ContentUserControl(); cuc.ProjectName = name; CategorySer s = new CategorySer(); int cat_ID = s.GetCategoryID(name, LogIn.user_ID); TaskListShow(cuc.Flow, cat_ID); panel4.Controls.Add(cuc); }
public ContentUserControl() { conUserCon = this; InitializeComponent(); }