예제 #1
0
 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("请输入数字!");
     }
 }
예제 #2
0
        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("请输入数字!");
            }
        }