WPFProject/LoadingWindow.xaml.cs
@@ -1,4 +1,6 @@ using System.Windows; using System; using System.Threading.Tasks; using System.Windows; using HMI.Base; namespace WPFProject @@ -23,7 +25,10 @@ private void Loader_LoadMessageAppend(object sender, string e) { Console.Text += $"{e}\r\n"; this.Dispatcher.BeginInvoke((Action)delegate () { Console.Text = Console.Text + $"{e}\r\n"; }); } private void Button_Click(object sender, RoutedEventArgs e)