/// <summary> /// Instantiates the user control. /// <remarks>Constructor</remarks> /// </summary> /// <param name="addin">The global instance of the addin.</param> public XWikiNavigationPane(XWikiAddIn addin) { InitializeComponent(); pictureBox.Visible = false; loadingWikiData = false; }
/// <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.addin = Globals.XWikiAddIn; this.currentClientType = addin.AddinSettings.ClientType; }
/// <summary> /// Creates an instance for this class. /// </summary> /// <param name="addin">The instance of the current add-in.</param> public AddinActions(XWikiAddIn addin) { this.addin = addin; addin.Application.WindowDeactivate += new Word.ApplicationEvents4_WindowDeactivateEventHandler(KeepNewWindowActivated); }