Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have a C# WPF program that I’ve been working on for a while now and I need to move to Linux. I know that Moonlight is dead and Monodevelop has no future plans of implementing WPF functionality. Does anyone have any advice for the most painless way to rebuild my program in Linux? It’s a DnD character generator that uses a GUI with tab controls to separate the different parts. I only know C# but I’d learn another language if it was the best way.
The .NET Framework was planned for Platform independant, but that never realised. It grew too big to fully port.
.NET Core does not have that issue. It was cut down compared to the .NET Framework. It supports neither WPF nor Windows Forms, but it does support something similar: UWP. Wich is basically "WPF with App environment added". Since your programm propably needs no extensvie rights, UWP might be the way to go.
Edit: With .NET Core 3.0, thie Windows Forms Support will be added again. .NET Framework targetting WinForms Programms will need a conversion, but if you start from scratch it should just work.
Otherwise the common GUI to do cross platform anything is Xamarian. But Xamarian Apps are usually designed from the get go as such.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm about to start the development of a desktop .NET/C# application which has been designed with a focus on "modern UI" style. For example, it's very similar to the GitHub for Windows client.
I have a strong experience in the creation of .NET interfaces using Winforms, but now I'm wondering what's the most effective way to create buttons, panels and other controls with that particular "flat" style. As you know, the default style of a Winforms application is something like this.
Is there something, like a collection of "Modern controls", ready to be used on .NET Framework 4?
I hate to say but the answer mos likely is "not at all". WinForms was in maintenance way before Modern UI was released. I am not sure any commercial control collection has what you need - and the standard controls definitely do not.
Start upgrading to WPF. You are QUITE late with this, and it has a LOT of better things in critical areas (such as databinding which had quite brutal holes in WinForms).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
Is it possible to make a desktop application, which would be cross-platform (Windows, Linux and perhaps Mac), which would feature a GUI (standard stuff, textboxes, buttons and such), it would be written in C#, and would have a 3D viewer / window, which would be driven through OpenGL?
I'm accustomed to the WPF/Xaml environment when it comes to creating a GUI, mostly in Visual Studio, coupled with XNA for 3D elements, but I need it to be OpenGL now, mostly because I need it to be cross-platform (I am going to be loading proprietary custom object formats, so I don't really have a need for third-party libraires).
Is there a way to do the above? And if there is, how and which tools would be necessary? (IDE examples, tutorials...)
EDIT: I am currently looking at a combination of GtkGlAreaSharp, Monodevelop and Tao as a wrapper. I'm looking forward to possibly simpler suggestions.
Mono is the way to go then. Specifically, have a look at the Tao Framework http://sourceforge.net/projects/taoframework/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for a good MVC / MVP framework for developing windows application in .net. It would be great if the framework supports Winform, Wpf and Metro style application. Though the requirement is little bizarre, but I really want to make the View part of the application very flexible, so that most of the code base can be reused with different presentation layers technology!
I have seen MVC# and AFAIK it supports winforms, but not wpf and metro style apps. On the other hand PureMVC supports wpf but not winforms.
Is there any such framework in the market? A opensource one will be preferable.
You can try Prism: http://msdn.microsoft.com/en-us/library/ff648465.aspx
Although it does not support WinForms, it DOES support WPF (for desktop apps), Silverlight and Windows Phone.
BTW, why do you need WinForms when you can just use WPF? If you want to reuse existing WinForms controls you can always use it within WPF:
http://www.keyvan.ms/host-windows-forms-controls-in-wpf
So you if you want you can have a WPF window/control container (which doesn't really matter) and have WinForms controls/logic inside...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
all, I'm thinking of porting my application from VB.net to the C# based MONO project, so it can run on both Windows and Mac. However, I am in need of a Mac-friendly alternative to WPF. It has to have very similar functionality. QML (by QT) is not a viable option, as it costs far too much money for us.
There is also https://github.com/AvaloniaUI/Avalonia a multi-platform .NET UI framework inspired by WPF
Miguel de Icaza recommends MonoMac as a substitute to WPF for Mac as stated here. As he explains there is no plan to implement WPF in mono.
MonoMac is a work-in-progress. Some parts of the Cocoa APIs are not wrapped yet. You should start with the samples to get an idea of what is possible.
You will have to build two different UI on top of a common engine, but that's generally a good separation of concerns.
There is also a possible common code base for UI with GTK#.
Depending on your application's functionality, you could potentially port your application to Silverlight/Moonlight. Silverlight is supported on the MAC, but you'll need Moonlight for Linux. Of course, if you're doing a lot of work with the client machine's file system or what not, this is not an option.
tho I have accepted an answer a while back, I want to post what I am doing currently if anyone views this question.
I am currently using Python with PyGTK for the GUI, and GStreamer for the video. This is producing results almost identical to WPF (except some hardcoded animations). Furthermore, it runs on Windows, Mac, and Linux.
EDIT: GStreamer did not pan out for my purposes. While it works well for the most part, I could not layer transparent .png images over the video. I have switched finally to Adobe Flash (Adobe AIR).
EDIT 2: For anyone who comes across this later, when the future of SWF fell into question, my company started building our own animation system in C++, using some components of Gtk+/gtkmm and Cairo. Ultimately, that falls under the advice of the other answer...separate GUI from platform.
https://www.noesisengine.com/
Is another alternative to xaml/wpf that is also for video game engines. It currently has a Indie/Free tier up to 100k in revenue, and is cross platform.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I only have a vague hint of spec so far, but I'm just testing the waters. I need to create a designer that will be used for creating CBT tasks and workflows. It must cater for custom objects (controls) as well as standard .NET WinForms controls.
I very lightly scanned some papers long ago on using the Visual Studio SDK and deployable design framework, but I can't remember anything meaningful.
I need some resources on building designers in general, with drag and drop, resizing, connectors, and events.
I need some resources on the capabilities of the Visual Studio SDK in regards to my first point.
I would appreciate any recommendations regarding alternative (hopefully open source) technologies and patterns.
I would lurve to write this from scratch, but I can't do that at my client's expense, so I would much prefer to leverage existing artifacts as much as possible.
EDIT: When I first posted, I could not recall that one tool I had in mind was the Visual Studio Shell, which allows me to create a "VS clone", with VS features, but my own branding and DSL type projects.
I have implemented the VS designer in one of my applications, and I'll tell you now - there is not much documentation. Although I achieved a result I am happy with, documentation is slim. Here are some links:
Create And Host Custom Designers With The .NET Framework 2.0
System.ComponentModel.Design Namespace
DesignSurfaceManager Class
There's also the MSDN article called "Extending Design-Time Support".
The only book written on the subject seems to be "Developing .NET Custom Controls and Designers Using C#", which dates back to 2005.
I also find it odd that there's so little information on this subject. Is writing .NET designers unpopular for some reason? It took a while for my exploration of C# to get to the point where learning this subject made sense, and I wonder if I should make the effort.