在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);
}
}