I bet most of you already know how to do this, but this is just for the people that don't know how to make the form open up.
First, open LOTF.
Then right-click on COServerProject in the Solution Explorer.
Click Add > Windows Form...
Then Form1.cs should be in the Solution Explorer.
Now go to View > Toolbox and you can start adding buttons and stuff.
Now to make the form load with the console, you go to General.cs
Above Console.ReadLine(); , add this code:
Note: if you rename Form1.cs to something else, Make Application.Run(new YourFormName());
#Edit
If you get The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)
You need to add a reference by right-clicking on COServerProject > Add Reference > System.Core in the .NET tab.
Now the form will load and you make a control panel with the Toolbox provided on the side.
Look at my signature and you'll see how mine looks like. It looks kinda basic, but I'm accustomed to it.
First, open LOTF.
Then right-click on COServerProject in the Solution Explorer.
Click Add > Windows Form...
Then Form1.cs should be in the Solution Explorer.
Now go to View > Toolbox and you can start adding buttons and stuff.
Now to make the form load with the console, you go to General.cs
Above Console.ReadLine(); , add this code:
Code:
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
#Edit
If you get The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)
You need to add a reference by right-clicking on COServerProject > Add Reference > System.Core in the .NET tab.
Now the form will load and you make a control panel with the Toolbox provided on the side.
Look at my signature and you'll see how mine looks like. It looks kinda basic, but I'm accustomed to it.