add console manager
This commit is contained in:
parent
693666f285
commit
20a636ae5c
1 changed files with 17 additions and 0 deletions
17
WindowsFormsApplication2/ConsoleManager.cs
Normal file
17
WindowsFormsApplication2/ConsoleManager.cs
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue