Transfer an array from MyCommands class to a Windows Form

Transfer an array from MyCommands class to a Windows Form

muckmailer
Collaborator Collaborator
318 Views
1 Reply
Message 1 of 2

Transfer an array from MyCommands class to a Windows Form

muckmailer
Collaborator
Collaborator

What is the best way to Transfer an array from MyCommands class to a Windows Form? Example Windows Form 1.

Should the array be made public static or is there a better way. that is simple for a beginner.

 

If there is an example that would be helpful.

 

Thank you

0 Likes
319 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant

Hi,

 

To get a pertinent reply you have to provide more informations about this "form".

Is it a modal dialog related to some CommandMethod, typically a dialog box used to get user inputs requiered by this command?

Or is it a modeless dialog, typically a Palette displayed independently?

 

You should also say more about the "array". What does it contain? How is it filled? And so on.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes