private void button3_Click(object sender, EventArgs e) { RecordService.AddFavorWord(MainWin.User, searchWord); if (button3.Text == "取消收藏") { button3.Text = "收藏"; } else { button3.Text = "取消收藏"; } }