写得不是太全,但还是给个好评价void CScada_totalacpower::OnPaint()
{
CPaintDC dc(this); // device context for painting
// TODO: Add your message handler code here
DrawGND();//(&dc, rc) ;
DrawValue_totalacpower();//(&dc);//因为背景是不动的,所以不用刷新//
// Do not call CStatic::OnPaint() for painting messages