void CSView::OnChangCircles() 
{
// TODO: Add your command handler code here
CDC *pDC=this->GetDC();
CChangingCircles ChC;
int R,r;
if(ChC.DoModal()==IDOK)
{
R=ChC.m_R ;
r=ChC.m_r ;
}
CRect Rect;
GetClientRect(&Rect);
int a=Rect.right ;
int b=Rect.bottom ;
for(double i=0;i<=2*PI;i=i+PI/20)
{
      double x=(a/2-R*sin(i));
  double y=(b/2+R*cos(i));
pDC->Ellipse (int(x-r+0.5),int(y-r+0.5),int(x+r+0.5),int(y+r+0.5)); }}