.NET

.NET

Reply
*Bobby C. Jones
Post 11 of 13

Re: Displaying WinForm with CommandMethod

07-12-2005 04:55 AM in reply to: *Homer Simpson
You are correct Tony. Thanks for pointing that out.
--
Bobby C. Jones
http://www.acadx.com

"Tony Tanzillo" wrote in message
news:4898361@discussion.autodesk.com...
"Bobby C. Jones" wrote:

>> To display a form simply create an instance of it and
>> call its .Show or .ShowDialog method.

In AutoCAD you do not call Show() or ShowDialog()

The interop Application class has methods for displaying
forms, and they should be used instead.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

--
Bobby C. Jones
http://www.acadx.com
Distinguished Contributor
212 Posts
6 Kudos
Registered: ‎10-03-2003
Post 12 of 13

Re: Displaying WinForm with CommandMethod

07-13-2005 03:38 AM in reply to: *Homer Simpson
What are the advantages of using AutoCAD winforms?
*Tony Tanzillo
Post 13 of 13

Re: Displaying WinForm with CommandMethod

07-13-2005 12:33 PM in reply to: *Homer Simpson
If you build a managed assembly that's loaded with
NETLOAD, the point is moot. In that case, any Form
derivative is running in AutoCAD, so you can say they
are all 'AutoCAD winforms'.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:4899861@discussion.autodesk.com...
What are the advantages of using AutoCAD winforms?
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!