vpr/ShadowStream/Resources/LogHelper/LogWindow.xaml.cs
2025-06-12 14:34:51 +01:00

24 lines
545 B
C#

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