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