seperate the classes for WinForms and Gtk