AnsweredAssumed Answered

On application close method

Question asked by ddoucet20 on Sep 19, 2017
Latest reply on Sep 20, 2017 by ddoucet20

Hello, I was wondering if there was a way to close an add-in pane when Arcpro is shutdown. As you know Arcpro remembers which tabs/windows were open in the previous session, and I don't want the add-in tab to be available when the application is reopened.

 

Are there any simple overrides that I could implement?

 

Alternatively on open would be fine too, I've been trying this.close(); and FrameworkApplication.Panes.ClosePane(this.InstanceID); but can't get them to work

Outcomes