applying new struckture and working vlc
This commit is contained in:
24
ShadowStream/Resources/LogHelper/LogWindow.xaml.cs
Normal file
24
ShadowStream/Resources/LogHelper/LogWindow.xaml.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user