public NodeVisualController(MainForm main, Control panelGraphics)
 {
     this.panelGraphics        = panelGraphics;
     this.main                 = main;
     this.panelGraphics.Paint += new System.Windows.Forms.PaintEventHandler(this.panelGraphics_Paint);
     nodeController            = new NodeController(this);
 }
Ejemplo n.º 2
0
        public MainForm()
        {
            InitializeComponent();
            panelGraphics.ContextMenuStrip = panelContextMenuStrip;


            this.graphicsController = new NodeVisualController(this, panelGraphics);
            nodeController          = new NodeController(graphicsController);
        }