What is the best/prefered method for displaying Windows User-Forms in Autocad?
Below is what I have used I don;t know what the difference/advantages are?
'make a sure a reference to System.Windows.Forms exists in the project
Dim myform As System.Windows.Forms.Form
myform =
NewformTextSeries
1) Use the commands/methods from Windows (System.Windows.Forms)
' Show the User-Form
myform.SetDesktopLocation(10, 10)
myform.ShowDialog()
2) Use the commands/methods from Windows (Autocad.ApplicationServices)
' Show the User-Form Autodesk.AutoCAD.ApplicationServices.Application.ShowModalDialog(myform)
*******************************************************
Does anybody have an example of showing modeless forms using AutoCad Palettes?
This is the only book I've seen.
Are there any more?
See this very basic sample code,
this will allow you to insert block from combobox
Link removed, see private message
~'J'~
Thanks for the information, but I only have VB.net and can't open the "C.net" file to view it
If you can post the code I'll be able to see the example and apply it to VB.net
wait till tomorrow, I can't do it right now
~'J'~
Can't find what you're looking for? Ask the community or share your knowledge.