Hello,
I'd like to setup a static variable at program load, depending on data saved in a text file.
It's currently hardcoded :
internal static int ApplicationVers ion=3;
And I use it to declare my arrays of objects,... :
internal Button[,] ButtonDays = new Button[ApplicationVers ion, 7];
How can I update the "ApplicationVer sion" once at the startup of the program, so that the whole declarations are also setup accordingly ?
Thank you
I'd like to setup a static variable at program load, depending on data saved in a text file.
It's currently hardcoded :
internal static int ApplicationVers ion=3;
And I use it to declare my arrays of objects,... :
internal Button[,] ButtonDays = new Button[ApplicationVers ion, 7];
How can I update the "ApplicationVer sion" once at the startup of the program, so that the whole declarations are also setup accordingly ?
Thank you
Comment