3

Me and my team we are working on a team project for university needs.
What we are doing is that we are reading some values from text files and then draw some objects on screen (a big square and a few tiny circles) to make it look like a map. Big square specifies an area (room) and circles the objects (devices) inside or outside the room.
We are also using a simple GUI as a menu with 2-3 buttons and some labels. We have already created the program on C# on Visual Studio.

The problem is that we had to change the operating system from Windows to Linux due to limitations we had (firewall issues) and now we want to create something similar on Linux. We don't care about the programming language we will have to use, we just need something that will allow us to do what we want as easy as possible.

Anyone have any suggestions?

  • Wouldn't it just have been easier to solve the firewall issues? – Mawg Jan 7 at 14:17
3

The Mono project should allow you to easily port your C# code to Linux. You can check their compatibility page to see if the particular components you use are supported.

3

As mentioned in another answer because you need to run the same application that was build for windows using visual studio and c#, your first choice should be to try monodevelop which aims at providing familiriaty for visual studio developers in a unix environment.
In a simple search I found this handy example which creates a graphic application by drag & drop existing gui components.

Another language + IDE you might want to give it a try is Java + Netbeans which offers the best GUI support in Java for me(In terms of easiness... it's just drag & drop) and here is a tutorial I've found.

And a 3rd choice might be Python + PyQt but this might be the most complex solution since it will be implemented programmaticaly.

  • I tried Monodevelop in the past but was unable to find any help in web in terms of how commands work. Most tutorials for Monodevelop are using different commands and I wasnt able to find how to save and read values in a file. That was my main problem on monodevelop – Antreas Solou Apr 12 '14 at 10:43
1

If you are familiar with JavaScript, you can try NodeJS in combination with node-webkit. The latter enables programming desktop apps using HTML, CSS, JavaScript and NodeJS APIs (for file reading, writing, etc.)

However, if you have lately done a lot C# stuff, I second Michael Kohne's answer to have a look at Mono.

1

Nearly two years late, but I would suggest Lazarus IDE, which is based on Object Pascal. Pascal is not the most popular language around, but with Lazarus it is a very good way to develop cross platform applications.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.