Ejemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            rightPolygon = new RightPolygon(graphics, Color.Red);

            rightPolygon.Draw(getPointsForRightPolygon(Int32.Parse(number.Text), 50, Int32.Parse(firstPointX.Text), Int32.Parse(firstPointY.Text)));
        }