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

double exclamation marks in haskell -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

Qt Creator - Searching files with Locator including folder -