public void CloseInDesignApp() { if (m_inDesignApp != null) { if (HasInDesignAppWindow()) { m_inDesignApp.Quit(InDesign.idSaveOptions.idYes); } else { m_inDesignApp = null; } } }
public void DestroyProvider() { application.Quit(QuitSaveOptions); }