private void Getbtn_Click(object sender, EventArgs e) { NetEaseLyric lyric = new NetEaseLyric(); try { Lyrictb.Text = lyric.getLyric(Convert.ToInt32(IDtb.Text.Trim())); } catch { MessageBox.Show("请输入数字!"); } }
private void Getbtn_Click(object sender, EventArgs e) { NetEaseLyric lyric = new NetEaseLyric(); try { Lyrictb.Text = lyric.getLyric(Convert.ToInt32(IDtb.Text.Trim())); Clipboard.SetDataObject(Lyrictb.Text); } catch { MessageBox.Show("请输入数字!"); } }