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

html - jquery - p element wont show after I hid it -

python - BeautifulSoup: How to get the nearest tag -

php - Return Last Insert ID with PDO -