private void LinkbtnSelProName_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { ProductManagerFrm profrm = new ProductManagerFrm(true); if (profrm.ShowDialog() == DialogResult.OK) { textBox4.Text = profrm.SelproductInfo.productname;//选中名称替换 } }