Beispiel #1
0
        private void btnOneCycle_Click(object sender, EventArgs e)
        {
            COneCycle cOC = new COneCycle("외발 자전거");


            lbName.Text = cOC.strName;
            Graphics g = pMain.CreateGraphics(); //pMain 이라는 판넬에 그림을 그리겟다
            Pen      p = cOC.fPeninfo();

            g.DrawRectangle(p, cOC._rtSquare1);
            g.DrawEllipse(p, cOC._rtCircle1);
        }
Beispiel #2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     _cOC = new COneCycle("외발자전거"); //
 }