Ejemplo n.º 1
0
 public static void ShowModelDialog(Repository repo)
 {
     try
     {
         ShowLogDialog dlg = new ShowLogDialog();
         dlg.Update(repo);
         dlg.ShowDialog();
     }
     catch (Exception ee)
     {
         Trace.WriteLine("### [" + ee.Source + "] Exception: " + ee.Message);
         Trace.WriteLine("### " + ee.StackTrace);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 查看提交记录对话框;
 /// </summary>
 public void ShowLog(String path = null)
 {
     ShowLogDialog.ShowModelDialog(this.TheRepository);
 }