/// <summary> /// Default constructor. /// </summary> /// <param name="addinSettingsForm">A reference to an <code>AddinSettingsForm</code> instance.</param> public AddinSettingsFormManager(ref AddinSettingsForm addinSettingsForm) { this.addinSettingsForm = addinSettingsForm; this.addinSettings = new XOfficeCommonSettings(); this.addin = Globals.XWord2003AddIn; this.currentClientType = addin.ClientType; }
/// <summary> /// Creates an instance of the <code>AddinActionsDispatcher</code>. /// </summary> /// <param name="addin">The <code>XWord2003AddIn</code>.</param> public AddinActionsDispatcher(XWord2003AddIn addin) { this.addin = addin; addin.Application.WindowDeactivate += new Word.ApplicationEvents4_WindowDeactivateEventHandler(KeepNewWindowActivated); }