diff --git a/WindowsFormsApplication2/ConsoleManager.cs b/WindowsFormsApplication2/ConsoleManager.cs new file mode 100644 index 0000000..302a530 --- /dev/null +++ b/WindowsFormsApplication2/ConsoleManager.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace JellyfinRPC +{ + class ConsoleManager + { + static Form1 MainForm; + public static void writeToConsole(string Line) + { + MainForm = new Form1(); + MainForm.listBox1.Items.Add(Line); + } + } +}