实现效果:
  在TextBox控件底端添加下划线效果

知识运用:

  TextBox控件的Font属性

实现代码:

        private void btn_Display_UnderLine_Click(object sender, EventArgs e)
        {
            textBox1.Font = new Font("楷体",22,FontStyle.Underline);
        }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
  • 2021-04-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
猜你喜欢
  • 2021-07-03
  • 2022-12-23
  • 2021-06-21
  • 2021-08-10
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
相关资源
相似解决方案