/// <summary> /// Show history of learning window /// </summary> private void showHistory() { try { HistoryWindow hw = new HistoryWindow(); hw.FormClosing += (s, a) => { this.BringToFront(); }; hw.ShowDialog(); } catch (Exception ex) { info = ex.ToLog().GetError(); } }