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

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

posted on 2020-01-29 15:38  武胜-阿伟  阅读(442)  评论(0编辑  收藏  举报