private void pbox_graphs_DoubleClick(object sender, EventArgs e) { MouseEventArgs m = (MouseEventArgs)e; graphVisual.addVertex(m.Location); }