Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What GUI toolkit should I use

I have a C# application. Currently all modules are written in .NET 2 and it uses some executables that have linux ports. So I was wondering what toolkit should I use on Windows and MacOS to compile it max easy on both? On Windows Some guys told me that on Windows I can use WinForms, but on Mac I must use MonoMac, but the transition is hard to make. I need something to be done easily.

like image 864
blez Avatar asked Oct 27 '10 17:10

blez


2 Answers

Port it to Mono (NOT MonoMac) and it should work on both.

http://www.mono-project.com/Guide:_Porting_Winforms_Applications

You should be able to recompile and run for both platforms once you have completed the port.

like image 155
vdoogs Avatar answered Oct 14 '22 14:10

vdoogs


GTK# may be an option. I don't conciser it to be convenient though, but it is a matter of taste.

In my humble opinion, you should use different GUI toolkits for each platform ( this is usually a topic of holy wars, but i think, if your budget is enough for that, you really should consider doing this). I can name only a few completely cross-platform applications, which we written using only one GUI toolkit that really fit all systems altogether.

like image 38
n535 Avatar answered Oct 14 '22 16:10

n535