Exemplo n.º 1
0
        private void OnAboutLinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            string path = FileLocationUtilities.GetFileDistributedWithApplication(true, "about.htm");

            using (var dlg = new SIL.Windows.Forms.Miscellaneous.SILAboutBox(path))
            {
                dlg.ShowDialog();
            }
        }
Exemplo n.º 2
0
        private void OnAboutBoxClick(object sender, EventArgs e)
        {
            string path = FileLocator.GetFileDistributedWithApplication(true, "infoPages", "aboutBox-" + LocalizationManager.UILanguageId + ".htm");

            if (String.IsNullOrEmpty(path))
            {
                path = FileLocator.GetFileDistributedWithApplication(false, "infoPages", "aboutBox.htm");
            }
            using (var dlg = new SIL.Windows.Forms.Miscellaneous.SILAboutBox(path))
            {
                dlg.ShowDialog();
            }
        }
Exemplo n.º 3
0
 /// ------------------------------------------------------------------------------------
 private void HandleHelpAboutClick(object sender, EventArgs e)
 {
     using (var dlg = new SIL.Windows.Forms.Miscellaneous.SILAboutBox(FileLocator.GetFileDistributedWithApplication("aboutbox.htm")))
         dlg.ShowDialog();
 }
Exemplo n.º 4
0
 private void OnAboutBoxClick(object sender, EventArgs e)
 {
     string path = FileLocator.GetFileDistributedWithApplication(true,"infoPages","aboutBox-"+LocalizationManager.UILanguageId+".htm");
     if (String.IsNullOrEmpty(path))
     {
         path = FileLocator.GetFileDistributedWithApplication(false,"infoPages","aboutBox.htm");
     }
     using(var dlg = new SIL.Windows.Forms.Miscellaneous.SILAboutBox(path))
     {
         dlg.ShowDialog();
     }
 }