I have a form called "Form1". From this form I'm calling another form (Miniform) using the attached code snippet (Snippet ID=8128684).
On "Form1.cpp" I have included a file called "global.h" which contains the definition of an integer array called "Dekning".
Now I want to be able to alter values in this array from a routine defined in the "Miniform.h"-file, i.e. when I click on a button on this form.
Both the Form1 and the form Miniform is already defined using the IDE of Visual Studio .NET 2003. (And yes - it should be managed code..).
How do I do this ?
Miniform *form2 = new Miniform();