If I have a dictionary in a static class that gets updated randomly with data, how do I then pass this dictionary to the main form to display it in a grid view if the mainform is not static?
Surely if I create a new instance of the mainform I will have multiple mainforms everytime I try and do this (every 15 seconds) and I will lose data……right?
If I have a dictionary in a static class that gets updated randomly with
Share
You should probably have a look at
Classes
in C#