Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to make the design of a C# application with CSS

Tags:

c#

css

asp.net

I am better in creating a computer based application in C# than a webpage in ASP.net. But the power that CSS has in designing buttons, form, etc.. really makes me love it.

I was searching on google if I can use just CSS in a software but no result yet. Is it possible? I know this is too abroad and kinda stupid question, but I really need an answer.

EDIT: I would like to mention that I use Visual Studio Community 2015.

like image 860
berg96 Avatar asked Sep 06 '16 16:09

berg96


People also ask

Does C# use CSS?

NET and C# Use . NET and C# to create websites based on HTML5, CSS, and JavaScript that are secure, fast, and can scale to millions of users.

Can I use C# with HTML and CSS?

Yes you can. Use WebBroswer Class (find it in toolbox) and use your HTML and CSS codes inside that but be aware that after making all html and css strings put them in the appropriate property of the WebBrowser control.

What are CAD drawings used for?

CAD design is used by architects, construction managers, and engineers, and has replaced manual drafting. It helps users create designs in either 2D or 3D to visualize construction, and enables the development, modification, and optimization of the design process.

What is design process in CAD?

The CAD design process is an iterative process that ensures the compatibility of design. To understand CAD properly, it's crucial to go through the design process. The general design process includes six steps. Recognition of need, which occurs when one recognizes the need of a solution to a problem or situation.


2 Answers

Yes you can. Use WebBroswer Class (find it in toolbox) and use your HTML and CSS codes inside that but be aware that after making all html and css strings put them in the appropriate property of the WebBrowser control. Also notice that non of server side functionalities will work. Just simple html and css.


Advice:
Learn how to use WPF instead of HTML and CSS for which has great power designing client side applications.
like image 166
Green Falcon Avatar answered Oct 10 '22 15:10

Green Falcon


If you really love CSS and like to create Desktop Application using CSS, you might want to look at Electron.

Electron is an open-source framework developed by GitHub. Visual Studio Code and Atom Text Editor are created using Electron.

You cannot use C#, but you can use Typescript which is very closed to C#.

like image 39
Win Avatar answered Oct 10 '22 13:10

Win