winform设置文本框宽度 根据文字数量和字体返回宽度 _LinkLabel.Width = TextRenderer.MeasureText(_LinkLabel.Text, _LinkLabel.Font).Width;