Quantcast
Channel: Mentor Graphics Communities: Message List
Viewing all articles
Browse latest Browse all 1329

Re: looking for xDX - Project Close / Closing Event

$
0
0

Did you try app.ProjectClosed?

 

PublicWithEvents app as ViewDraw.Application

 

PublicSub app_ProjectClosed() Handles app.ProjectClosed

     Debug.Print("Project has been closed.")

EndSub

 

This is different, as you noted, from closing down the entire DxDesigner main window.  That fires app.Shutdown, as in:

 

PublicSub app_Shutdown() Handles app.Shutdown

     Debug.Print("app shutdown")  

EndSub

 

I tested both of these and they work as expected.


Viewing all articles
Browse latest Browse all 1329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>