﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PaintingApp
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
            PenTool p = PenTool.prepare(this);
            p.down();
            p.right();
            p.startLine();
            for (int i = 0; i < 5; i++)
            {
                p.right();
            }
            for (int i = 0; i < 5; i++)
            {
                p.down();
            }
            for (int i = 0; i < 5; i++)
            {
                p.left();
            }
            for (int i = 0; i < 5; i++)
            {
                p.up();
            }
            p.endLine();
        }
    }
}
