예제 #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();
            }
        }
예제 #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();
            }
        }
예제 #3
0
 /// ------------------------------------------------------------------------------------
 private void HandleHelpAboutClick(object sender, EventArgs e)
 {
     using (var dlg = new SIL.Windows.Forms.Miscellaneous.SILAboutBox(FileLocator.GetFileDistributedWithApplication("aboutbox.htm")))
         dlg.ShowDialog();
 }
예제 #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();
     }
 }