In form1, as global variable, I have this:
public Swords sw = new Swords;
And, in the main:
sw = new Swords("sword_1.jpg"); sw = new Swords("sword_2.jpg"); Store ST = new Store(); ST.ShowDialog();
Then, in main of form Store, I have this just to test:
Form1 f = new Form1(); MessageBox.Show(f.sw.GetSword());
And it gives an break exception, that in resume says that I dont have any kind of information in sw - its all Null.
How can I solve it?