Esempio n. 1
0
		/// <summary>
		/// Show help, using the default help file for this Installation
		/// </summary>
		/// <param name="helpId"></param>
		public void ShowHelp(HelpId helpId)
		{
            var installation = new Installation();
			
            string helpFile = ProfessionalChm;
            if (installation.InstalledProduct == InstalledProduct.CompareStandalone)
            {
                helpFile = CompareChm;
            }

            ShowHelp(helpFile, (int)helpId);
		}
Esempio n. 2
0
 public override int GetHashCode()
 {
     return(HelpId.GetHashCode());
 }
Esempio n. 3
0
        public void showHelp(HelpId type)
        {
            if(Util.HelpForm.isVisible==false)
                Util.HelpForm.isVisible = true;
            if(type == HelpId.FileLock)
            {
                webHelp.DocumentText = covertFiles.Resources.FileLock;
            }else if(type == HelpId.HammingCorrection)
            {
                webHelp.DocumentText = covertFiles.Resources.HammingCorrection;
            }
            else if (type == HelpId.IntervalAdjust)
            {
                webHelp.DocumentText = covertFiles.Resources.IntervalAdjust;
            }
            else if (type == HelpId.MessageTimeOut)
            {
                webHelp.DocumentText = covertFiles.Resources.MessageTimeOut;
            }
            else if (type == HelpId.OneBitDelay)
            {
                webHelp.DocumentText = covertFiles.Resources.OneBitDelay;
            }
            else if (type == HelpId.RunOneCore)
            {
                webHelp.DocumentText = covertFiles.Resources.RunOneCore;
            }
            else if (type == HelpId.SharedCpuUsage)
            {
                webHelp.DocumentText = covertFiles.Resources.SharedCpuUsage;
            }
            else if (type == HelpId.SharedFile)
            {
                webHelp.DocumentText = covertFiles.Resources.SharedFile;
            }
            else if (type == HelpId.SilentInterval)
            {
                webHelp.DocumentText = covertFiles.Resources.SilentInterval;
            }
            else if (type == HelpId.StartOfFrame)
            {
                webHelp.DocumentText = covertFiles.Resources.StartOfFrame;
            }
            else if (type == HelpId.TcpPacketDelay)
            {
                webHelp.DocumentText = covertFiles.Resources.TcpPacketDelay;
            }
            else if (type == HelpId.TimmingError)
            {
                webHelp.DocumentText = covertFiles.Resources.TimmingError;
            }
            else if (type == HelpId.Upnp)
            {
                webHelp.DocumentText = covertFiles.Resources.Upnp;
            }
            else if (type == HelpId.ZeroBitDelay)
            {
                webHelp.DocumentText = covertFiles.Resources.ZeroBitDelay;
            }
            else
            {
                webHelp.DocumentText = covertFiles.Resources.helpMain;
            }

            this.Show();
            this.Focus();
        }
Esempio n. 4
0
	    /// <summary>
	    /// Show help, overriding the default help file for this Installation
	    /// </summary>
	    /// <param name="helpFileName"></param>
	    /// <param name="helpId"></param>
	    public void ShowHelp(string helpFileName, HelpId helpId)
		{
            ShowHelp(helpFileName, (int)helpId);
		}
Esempio n. 5
0
        // Token: 0x060001B1 RID: 433 RVA: 0x00009374 File Offset: 0x00007574
        internal string GetHelpId(string pageName)
        {
            HelpId helpId = (HelpId)Enum.Parse(typeof(HelpId), pageName, true);

            return(helpId.ToString());
        }