コード例 #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();
     }
 }
コード例 #2
0
        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();
            }
        }
コード例 #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();
            }
        }
コード例 #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();
     }
 }