I am trying to update some code I used on Autocad 2012 and, in Autocad 2014, I don't know how to get the MainWindow location.
In Autocad 2012 I used Autocad.ApplicationServices.Application.MainWindow
Thank you very much,
Solved! Go to Solution.
I could be wrong but for 2014 i believe you need to reference accoremgd and then access the main window using the following two methods:
ion.MainWindow.SetLocation() Autodesk.AutoCAD.ApplicationServices.Core.Applicat ion.MainWindow.GetLocation()