void MainFormLoad(object sender, EventArgs e) { toolsPanel2.graphcreator = graphCreator1; Settings1 set = new Settings1(); //set.AdditionalEdgeEllipsis //graphCreator1.DrawPoint(new Point(100, 100, 1)); graphCreator1.MyEvent += new MyEventHandler(graphCreator1_MyEvent); }