I wrote a C# program inside Monodevelop.
But when I run it the window won't show immediately - I have to minimize then restore it to get it to appear.
Does anyone know how I may go about solving this? Thanks
Code: Select all
using System.Windows.Forms;
public class TestForm : Form
{
public TestForm()
{
Text = "Hello";
WindowState = FormWindowState.Maximized;
}
public static void Main()
{
Application.Run(new TestForm());
}
}