// test,在界面显示rgn--非常有用
if (objLinkFrom->GetName()==_T("3")
&&objLinkTo->GetName()==_T("7"))
{
CBrush brA, brB;
VERIFY(brA.CreateSolidBrush(RGB(255,255,0)));
VERIFY(brB.CreateSolidBrush(RGB(50,50,50)));
int oldmode=dc-> SetROP2(R2_NOTXORPEN);
VERIFY(dc-> FrameRgn(&m_Rgn,&brA,3,3));
dc-> FillRgn(&m_Rgn,&brB);
dc-> SetROP2(oldmode);
}