Beispiel #1
0
        public Form1()
        {
            InitializeComponent();
            addPointForm   = new addPoint(this, pictureBox1.Width, pictureBox1.Height);
            addEdgeForm    = new addEdge(this, addPointForm);
            addPolygonForm = new addPolygon(this, addPointForm);

            Points.ContextMenuStrip   = contextMenuStrip1;
            Edges.ContextMenuStrip    = contextMenuStrip2;
            Polygons.ContextMenuStrip = contextMenuStrip3;
        }
Beispiel #2
0
 public addPolygon(Form1 frm1, addPoint pointw)
 {
     InitializeComponent();
     parent         = frm1;
     addPointWindow = pointw;
 }