private void pictureBox1_Click(object sender, EventArgs e) { MouseEventArgs me = (MouseEventArgs)e; //czytanie koordynatów z onclick Point coordinates = me.Location; // Console.WriteLine(coordinates); board.Selected_node(coordinates); //board.Draw(); }