Exemplo n.º 1
0
        private void buttonShowHelp_Click(object sender, EventArgs e)
        {
            bool bHelpFound = true;

            try
            {
#if (LTV20_CONFIG)
                //DemosGlobal.LaunchHelp2("WCF.Topics.LEADTOOLSModalityWorklistWCFandMPPSWCF 20");
                Process.Start("https://www.leadtools.com/help/leadtools/v20/dh/to/leadtools-modality-worklist-wcf-and-mpps-wcf.html");
#elif (LTV19_CONFIG)
                DemosGlobal.LaunchHelp2("WCF.Topics.LEADTOOLSModalityWorklistWCFandMPPSWCF 19");
#elif (LTV18_CONFIG)
                DemosGlobal.LaunchHelp2("WCF.Topics.LEADTOOLSModalityWorklistWCFandMPPSWCF 18");
#elif (LTV175_CONFIG)
                DemosGlobal.LaunchHelp2("WCF.Topics.LEADTOOLSModalityWorklistWCFandMPPSWCF 175");
#else
                DemosGlobal.LaunchHelp2("WCF.Topics.LEADTOOLSModalityWorklistWCFandMPPSWCF");
#endif
            }
            catch (Exception)
            {
                bHelpFound = false;
            }
            finally
            {
                if (!bHelpFound)
                {
                    Messager.ShowWarning(this, "Help failed to load.");
                }
            }
        }
Exemplo n.º 2
0
        private void showDetailedHelpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            bool bHelpFound = true;

            try
            {
                DemosGlobal.LaunchHelp2("CcowDashboardDemo");
            }
            catch (Exception)
            {
                bHelpFound = false;
            }
            finally
            {
                if (!bHelpFound)
                {
                    Messager.ShowWarning(this, "Help failed to load.");
                }
            }
        }