在dataGridView控件上加载数据时显示自定义字符

技术杂谈83

private void dataGridView_Paint(object sender, PaintEventArgs e) {
if (ShowLoading)
{
e.Graphics.DrawString("数据加载中", new Font("Arial", 20), Brushes.Black, 20, this.dataGridViewPCBS.Height / 2);
}
}

Original: https://www.cnblogs.com/zeroone/p/12240457.html
Author: 武胜-阿伟
Title: 在dataGridView控件上加载数据时显示自定义字符