public void Log(string Message) { try { Invoke(new Action(() => { RicTexBox_Log.AppendText($"{Message}\n"); RicTexBox_Log.SelectionStart = RicTexBox_Log.Text.Length; RicTexBox_Log.ScrollToCaret(); })); } catch { } ArcadeGameStartAndStopService.Logger.WriteLog(Message); }
public void Log(string Message) { try { Invoke(new Action(() => { RicTexBox_Log.AppendText($"{Message}\n"); RicTexBox_Log.SelectionStart = RicTexBox_Log.Text.Length; RicTexBox_Log.ScrollToCaret(); })); } catch { } Console.WriteLine(Message); }