c# - How to use array in two different forms? -


this question has answer here:

i'm trying use 1 array declared in 1 form, plot graph zedgraph, in different form.

how need declare array , where?

short answer: don't declare array in first form.

declare in separate component/class/whatever instead, , let both forms access array there. way, array should independent of forms, , both can use it.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -