R
reedr
I'm stuck with trying to reference an array of datagridviews that i
created at runtime. It works fine when I reference them within the
function they were created, but now I want to refer to them in another
function. They are both public functions so I just was wondering what
I need to do to access this array (or any variable for that matter) in
another function without creating it outside of the first function.
DataGridView[] Tools = new DataGridView[nToolChangeCalls];
created at runtime. It works fine when I reference them within the
function they were created, but now I want to refer to them in another
function. They are both public functions so I just was wondering what
I need to do to access this array (or any variable for that matter) in
another function without creating it outside of the first function.
DataGridView[] Tools = new DataGridView[nToolChangeCalls];