示例#1
0
 /// <summary>
 /// Show logs
 /// </summary>
 /// <param name="sender">who</param>
 /// <param name="e">arguments</param>
 private void helpLogs_Click(object sender, EventArgs e)
 {
     try
     {
         LogWindow lw = new LogWindow();
         lw.FormClosing += (s, a) =>
         {
             this.BringToFront();
         };
         lw.ShowDialog();
     }
     catch (Exception ex)
     {
         info = ex.ToLog().GetError();
     }
 }