| | |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using static System.Windows.Forms.VisualStyles.VisualStyleElement; |
| | | |
| | | namespace GZ.Projects.AuxAllWCS |
| | | { |
| | |
| | | |
| | | public override void WriteLine(string value = "") |
| | | { |
| | | // å¨è¿éæ¦æªå¤çè¾åº |
| | | //string intercepted = $"[æ¦æªå°çè¾åº] {value}"; |
| | | |
| | | string values = (string)AutoThread.InvokeMethod(AutoThread.Instance, "WriteLine", new object[] { value }); |
| | | //// å¯ä»¥éæ©ç»§ç»è¾åºå°åæ§å¶å° |
| | | //_originalOut.WriteLine(intercepted); |
| | | if (!string.IsNullOrEmpty(values)) |
| | | _originalOut.WriteLine(values); |
| | | } |
| | | |
| | | } |