VS 2010 setting non-GUI class file as Component

If you want to keep all the classes in one file, you can use the [System.ComponentModel.DesignerCategory("Code")] attribute on the GPSPort class to override the default behavior. Details here, note that you must use the fully qualified attribute even if you have a using System.ComponentModel statement or VS will ignore it.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)