Example #1
0
 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();
            }
        }
Example #3
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 Palaso.UI.WindowsForms.SIL.SILAboutBox(path))
            {
                dlg.ShowDialog();
            }
        }
Example #4
0
 private void OnAboutBoxClick(object sender, EventArgs e)
 {
     using(var dlg = new Palaso.UI.WindowsForms.SIL.SILAboutBox(FileLocator.GetFileDistributedWithApplication(false,"infoPages","aboutBox.htm")))
     {
         dlg.ShowDialog();
     }
 }