I have made the Graph class, and i want to simulate a distribution network. The Graph works 100%. But, i want to use that same struct/class in all my application! For example: I
Give the forms a reference to the Graph in their constructor.
Graph g = new Graph(); Form1 f1 = new Form1(g); Form2 f2 = new Form2(g);
Then both forms are working with the same graph.