void CDDlg::DrawC(CPaintDC *dc)
{
CRect rect;
GetClientRect(&rect);
int x0=rect.Width()/2;
int y0=rect.Height()+100;
int C1=RGB(255,0,0);
int C2=RGB(0,0,255);
int x1,y1,x2,y2;
double th,r1=200.0,r2=400.0,c=0;
CPen *op,p;
p.CreatePen(0,1,RGB(0,0,0));
op=dc->SelectObject(&p);
for(th=3.14/4;thSelectObject(&p);
dc->MoveTo(x1,y1);
dc->LineTo(x2,y2);
}
dc->SelectObject(op);
p.DeleteObject();
}