private void OnAboutBoxClick(object sender, EventArgs e) { using (var dlg = new Palaso.UI.WindowsForms.SIL.SILAboutBox(FileLocator.GetFileDistributedWithApplication(false, "infoPages", "aboutBox.htm"))) { dlg.ShowDialog(); } }
private void OnAboutToolStrip_Click(object sender, EventArgs e) { string aboutPath = Path.Combine(WeSayWordsProject.ApplicationCommonDirectory, "aboutBox.htm"); using (var dlg = new Palaso.UI.WindowsForms.SIL.SILAboutBox(aboutPath)) { 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 Palaso.UI.WindowsForms.SIL.SILAboutBox(path)) { dlg.ShowDialog(); } }
private void OnAboutBoxClick(object sender, EventArgs e) { using(var dlg = new Palaso.UI.WindowsForms.SIL.SILAboutBox(FileLocator.GetFileDistributedWithApplication(false,"infoPages","aboutBox.htm"))) { dlg.ShowDialog(); } }