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