Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
单击 Go 按钮时,文本框中给出的名称应显示为链接标签,并且应动态增加。
这是我的代码:
private void buttongo_Click(object sender, EventArgs e) { linkLabelName.Text = textBoxName.Text; }
private void btnGo_Click(object sender, EventArgs e) { LinkLabel link = new LinkLabel(); link.Text = txtText.Text; panTable.Controls.Add(link); }