Esempio n. 1
0
 /// <summary>
 /// About
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnAboutClicked(object sender, RibbonControlEventArgs e)
 {
     try
     {
         AboutBox aboutBox = new AboutBox();
         aboutBox.ShowDialog();
     }
     catch (System.Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// About
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnAboutClicked(object sender, RibbonControlEventArgs e)
 {
     ThisAddIn.g_log.Info("operator:btnAboutClicked begin");
     try
     {
         AboutBox aboutBox = new AboutBox();
         aboutBox.ShowDialog();
     }
     catch (Exception ex)
     {
         ThisAddIn.g_log.Error(string.Format("open about failed, because {0}",ex.Message));
         MessageBox.Show(ex.Message);
     }
     ThisAddIn.g_log.Info("operator:btnAboutClicked end");
 }