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);
 }
Example #2
0
 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);
 }