Exemple #1
0
 public void Show()
 {
     if (_path != null && AFile.ExistsAsFile(_path))
     {
         AExec.TryRun(_path);
     }
 }
Exemple #2
0
    void _html_LinkClicked(object sender, HtmlLinkClickedEventArgs e)
    {
        e.Handled = true;
        var s = e.Link;

        if (s == "?")
        {
            ZSetText(c_aboutHtml);
        }
        else if (s.Starts('#'))            //anchor
        {
            e.Handled = false;
        }
        else
        {
            AExec.TryRun(s);
        }
    }
Exemple #3
0
 /// <summary>
 /// Opens an Au library help topic onine.
 /// </summary>
 /// <param name="topic">Topic file name, like "Au.AAcc.Find" or "AAcc.Find" or "articles/Wildcard expression".</param>
 public static void AuHelp(string topic)
 {
     AExec.TryRun(AuHelpUrl(topic));
 }
Exemple #4
0
 public void Help_Email()
 {
     AExec.TryRun("mailto:[email protected]?subject=" + Program.AppName);
 }