Ejemplo n.º 1
0
        public void btnHelp_Click(Microsoft.Office.Core.IRibbonControl control)
        {
            var wizard = new HelpWizard()
            {
                TopMost       = true,
                StartPosition = FormStartPosition.CenterParent
            };

#if DEBUG
            wizard.TopMost = false;
#endif
            wizard.Show();
        }
Ejemplo n.º 2
0
        private void btnHelp_Click(object sender, RibbonControlEventArgs e)
        {
            var wizard = new HelpWizard()
            {
                TopMost       = true,
                StartPosition = FormStartPosition.CenterParent
            };

#if DEBUG
            wizard.TopMost = false;
#endif
            wizard.Show();
        }
Ejemplo n.º 3
0
        private static void ShowHelp()
        {
            dynamic templateName =
                ((DocumentProperties)(Globals.ThisAddIn.Application.ActiveDocument.BuiltInDocumentProperties))[
                    WordOM.WdBuiltInProperty.wdPropertyTitle].Value.ToString();
            var wizard = new HelpWizard(templateName)
            {
                TopMost       = true,
                StartPosition = FormStartPosition.CenterParent
            };

#if DEBUG
            wizard.TopMost = false;
#endif
            wizard.Show();
        }
Ejemplo n.º 4
0
        public void btnHelp_Click(Microsoft.Office.Core.IRibbonControl control)
        {
            var templateName =
                ((DocumentProperties)(Globals.ThisAddIn.Application.ActiveDocument.BuiltInDocumentProperties))[
                    WordOM.WdBuiltInProperty.wdPropertyTitle].Value.ToString();
            var wizard = new HelpWizard(templateName)
            {
                TopMost       = true,
                StartPosition = FormStartPosition.CenterParent
            };

#if DEBUG
            wizard.TopMost = false;
#endif
            wizard.Show();
        }