and my Main looks like this:
<font color="#0000ff" size=2><font color="#0000ff" size=2>
using</font></font><font size=2> System;
</font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> System.Collections.Generic;
</font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> System.Windows.Forms; </font><font color="#0000ff" size=2><font color="#0000ff" size=2>
namespace</font></font><font size=2> C5StatMenu
{
</font><font color="#0000ff" size=2><font color="#0000ff" size=2>static</font></font> <font color="#0000ff" size=2><font color="#0000ff" size=2>class</font></font> <font color="#008080" size=2><font color="#008080" size=2>Program
</font></font><font size=2>{
</font><font color="#808080" size=2><font color="#808080" size=2>///</font></font><font color="#008000" size=2> </font><font color="#808080" size=2><font color="#808080" size=2><summary>
</font></font><font color="#808080" size=2><font color="#808080" size=2>///</font></font><font color="#008000" size=2><font color="#008000" size=2> The main entry point for the application.
</font></font><font color="#808080" size=2><font color="#808080" size=2>///</font></font><font color="#008000" size=2> </font><font color="#808080" size=2><font color="#808080" size=2></summary>
</font></font><font size=2>[</font><font color="#008080" size=2><font color="#008080" size=2>STAThread</font></font><font size=2>]
</font><font color="#0000ff" size=2><font color="#0000ff" size=2>static</font></font> <font color="#0000ff" size=2><font color="#0000ff" size=2>void</font></font><font size=2> Main()
{
</font><font color="#008080" size=2><font color="#008080" size=2>Application</font></font><font size=2>.EnableVisualStyles();
</font><font color="#008080" size=2><font color="#008080" size=2>Application</font></font><font size=2>.SetCompatibleTextRenderingDefault(</font><font color="#0000ff" size=2><font color="#0000ff" size=2>false</font></font><font size=2>);
</font><font color="#008080" size=2><font color="#008080" size=2>Application</font></font><font size=2>.Run(</font><font color="#0000ff" size=2><font color="#0000ff" size=2>new</font></font> <font color="#008080" size=2><font color="#008080" size=2>frmC5StatMenu</font></font><font size=2>());
}
}
}
What is wrong ?
Best regards
KSor, Denmark
</font>
View the full article
<font color="#0000ff" size=2><font color="#0000ff" size=2>
using</font></font><font size=2> System;
</font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> System.Collections.Generic;
</font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> System.Windows.Forms; </font><font color="#0000ff" size=2><font color="#0000ff" size=2>
namespace</font></font><font size=2> C5StatMenu
{
</font><font color="#0000ff" size=2><font color="#0000ff" size=2>static</font></font> <font color="#0000ff" size=2><font color="#0000ff" size=2>class</font></font> <font color="#008080" size=2><font color="#008080" size=2>Program
</font></font><font size=2>{
</font><font color="#808080" size=2><font color="#808080" size=2>///</font></font><font color="#008000" size=2> </font><font color="#808080" size=2><font color="#808080" size=2><summary>
</font></font><font color="#808080" size=2><font color="#808080" size=2>///</font></font><font color="#008000" size=2><font color="#008000" size=2> The main entry point for the application.
</font></font><font color="#808080" size=2><font color="#808080" size=2>///</font></font><font color="#008000" size=2> </font><font color="#808080" size=2><font color="#808080" size=2></summary>
</font></font><font size=2>[</font><font color="#008080" size=2><font color="#008080" size=2>STAThread</font></font><font size=2>]
</font><font color="#0000ff" size=2><font color="#0000ff" size=2>static</font></font> <font color="#0000ff" size=2><font color="#0000ff" size=2>void</font></font><font size=2> Main()
{
</font><font color="#008080" size=2><font color="#008080" size=2>Application</font></font><font size=2>.EnableVisualStyles();
</font><font color="#008080" size=2><font color="#008080" size=2>Application</font></font><font size=2>.SetCompatibleTextRenderingDefault(</font><font color="#0000ff" size=2><font color="#0000ff" size=2>false</font></font><font size=2>);
</font><font color="#008080" size=2><font color="#008080" size=2>Application</font></font><font size=2>.Run(</font><font color="#0000ff" size=2><font color="#0000ff" size=2>new</font></font> <font color="#008080" size=2><font color="#008080" size=2>frmC5StatMenu</font></font><font size=2>());
}
}
}
What is wrong ?
Best regards
KSor, Denmark
</font>
View the full article