thielj / MetroFramework

Metro UI of Windows 8 for .NET Windows Forms applications
http://thielj.github.io/MetroFramework
Other
396 stars 225 forks source link

The MetroTextButton Throw Error #71

Open hennyce opened 8 years ago

hennyce commented 8 years ago

The MetroTextButton Throws Error

Hi,

When I hover over the MetroTextButton. my program throws and error. VS then shows me a file called "Program.cs"

Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new FrmProject());

Error pointed on "Application.Run(new FrmProject());" and it says :

`An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll

Additional information: Input string was not in a correct format.`

I would really like to get it to work, since its color compliments the other buttons :)