Is it possible to change the template/graphical interface of a form in Windows Forms?

Asked

Viewed 1,885 times

1

I’ve been researching about and the results that I was able to just turn to WPF instead of using Winform, but I still have doubts and I believe it is possible to change the template of the software developed in Windows Forms?

  • I don’t understand what you want. Which template are you talking about? Better inform the goal.

  • When developing in Windows Forms regardless of visual language c++ or Visual C# has a default template: link, i wonder if it is possible to change this default template of windows Forms.

  • I still don’t understand what it is that you want to touch. You have to explain it differently.

  • Windows Forms has a standard TEMPLATE, right? As I attached a link in the previous comment the title bar of the program has that standard blue windows and all objects as well, when it develops in WPF you can change via XML interface want to do the same only that in Winform or even import...

  • @bigown It seems to me that he wants to change the theme/look and Feel of an application made in Windows Forms.

  • @Renatodinhaniconceição can be even, well observed, let’s see if it confirms.

  • @Peter, I know there are a few paid libraries that make this easier, but in Windows Forms this is a little tricky. In a project I participated in where it was necessary to modify the theme, the solution found was to use images and borders overlaying the original elements (buttons, tables, etc), and delegate the events to the original elements when the images were clicked.

  • Exactly that @Renatodinhaniconceição e bigown, snooping around here I found some dll’s and managed to import some objects but nothing that changes the theme completely... Those paid libraries you meant it wasn’t for Winforms right?? Humm, a good solution @Renato! o Package name das dll’s cited above is "Dotnettoolbars", Thank you guys!

  • @Renatodinhaniconceição foi bem trabalho ein? rsrsrs...

  • With WPF this is easy.

  • Good people got good results, I found a good way to change theme and have several, nor need install anything... Who wants to explore a peek in the video explains right: link

Show 6 more comments

1 answer

0


There are some libraries like QIOS, the Krypton and the Dotnetbar which allow you to change the look of the application, but I’m not sure if it applies to Forms as well.

By my uses of these components I know there are ways for you, for example, remove the edges of a form and add the buttons of it in place of the original windows buttons, it means that you "mask" the application, but in the background the template is the same, and they have some really cool documentation that you can work with.

This site has a list of templates that can change the skin of a form and its controls as well, but never used.

  • Oops, thank you so much! yesterday after a nice snooping on the net I found several ways to change the themes... This "QIOS" and "Krypton" not only knew Dotnetbar, but left me with some doubts because you already killed one of them, as you thought it changed the whole theme, but not just "masks" as you said. Thank you!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.