using System; using System.Collections.Generic; using System.Windows; namespace ModuleManager { public partial class LogWindow : Window { public LogWindow(List logText) { InitializeComponent(); foreach (var s in logText) { LogBox.Text += s + Environment.NewLine; } } public void AddLogEntry(string logEntry) { LogBox.Text += logEntry + Environment.NewLine; LogBox.ScrollToEnd(); } } }