ACPAddIn.RibbonX.OnHelpClick C# (CSharp) Method

OnHelpClick() public method

public OnHelpClick ( Microsoft.Office.Core control ) : void
control Microsoft.Office.Core
return void
        public void OnHelpClick(Office.IRibbonControl control)
        {
            try
            {
                ThisAddIn.tourForm.ShowDialog();
            }
            catch (Exception e)
            {
                MessageBox.Show("AutoComPaste is currently disabled. Please run the AutoComPaste application and restart this document.", "AutoComPaste Help", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
            }
        }