private void menuAttribute_Click(object sender, EventArgs e) { ProductAttributeList ucAttributeList = new ProductAttributeList(); pnlMain.Controls.Clear(); pnlMain.Controls.Add(ucAttributeList); }