示例#1
0
 public static bool Execute()
 {
     using (var logHistory = new LogHistory())
     {
         logHistory.LoadLogFromEventLog(DateTime.Now);
         return(logHistory.ShowDialog() == DialogResult.OK);
     }
 }
示例#2
0
 private void logHistoryToolStripMenuItem_Click(object sender, EventArgs e)
 {
     LogHistory.Execute();
 }