How do I create an attractive GUI in C#? [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How do I create an attractive GUI - similar to the one used for Microsoft Office - in C#?
I will be using Winforms and C#.

WPF is a good place to start. Also you may checkout this blog post which illustrates how to create an Office like Ribbon in WPF.

Do you want to emulate the Office 2007/2010 ribbon?
Codeplex has a WinForms ribbon control you might like at http://ribbon.codeplex.com/.
See also Ribbon UI Control for WinForms

There are many rich controls collections, some free, some that need payment (devexpress.com for example).
You want it for WinForms, for Silverlight, for WPF, for ASP.NET? (devexpress has all of them).
If you want something "free", there are toolkits for WPF and Silverlight on codeplex.

Take a look at Krypton - It is a Free Winforms Skinner (Themer) that gives a cool look without too much effort. All you need to do is use their controls (which are extended from the basic Winforms Controls and have the same properties / methods events.

The visual part of Office that I see most people emulating is the ribbon control. Here's info on an example like it.
http://www.codeproject.com/KB/WPF/ribboncontrol.aspx

Related

C# Ribbon Control for WinForm from scratch [closed]

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
This may seem to be a duplicate question but I searched all over the web to find a post or article about creating a ribbon control for C# Win Form Application not for Excel (MS office) I tried to follow a tutorial in some other site and my project yields lots of error is there any tutorial on how to create a ribbon from scratch ?
You could create a ribbon control by creating a custom usercontrol. Go to your project, and right click, select add -> new item -> usercontrol (be sure it's for Windows Forms). Then, what you could do is add a TabControl to the designer area in Visual Studio (or instantiate it if you're making it from scratch). Then, for each tab, you could add all of the controls you need. As for coloring the tabs, if you are trying to style the ribbon like in MS Office products, here is a link to a StackOverFlow post on this topic: Set TabPage Header Color (be sure to see what the answer below the correct answer says if you have trouble). Aside from the coloring of the tabs, you could add then add the usercontrol to the form. If you don't need the ribbon to be reusable, you don't even have to make it a usercontrol--you could simply add a tabcontrol directly to the form you need a ribbon on.
Looking around the web, most people point to this as the best one: Archived CodePlex project "Windows Ribbon for WinForms". Microsoft never added a "blessed" ribbon control to Windows Forms. There really hasn't been any work done on Windows Forms since the 2005 (Whitbey) time-frame (which predates the Office Ribbon).
Oddly, they did a major release of MFC in 2008 that included a ribbon system - go figure. That was the only work they've done to MFC since about 1998.

Moving from WinForms c# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am writing a game in WinForms, using c#. Well, I absolutely love Visual Studio and WinForms, because coding is very simple, and there is usually no need in any additional content.
The game is text based, but it is also heavily based on UI. But, WinForms has no transparency, and this is something that hurts alot. Interface, labels and pictures are created and positioned dynamically.
I thought about moving to WPF, but I do not know, if i will be able to place controls dynamically in WPF like in WinForms (because WPF is based on grids).
Should I learn more about WPF, or there is any simple WinForms-like analogs, that support transparency and will allow me to create text-based games with UI?
P.S here is image, its QSP game (not mine, but it is something that I want to achieve, but have improved UI, transparent images, and etc.)
Since this is a multi-part question, I will not attempt to address any one specific question but rather provide resources to allow you to embark on learning WPF on your own, and assure you that moving to WPF is a safe choice for converting your application.
I thought about moving to WPF, but I do not know, if i will be able to place controls dynamically in WPF like in WinForms (because WPF is based on grids).
Yes, you can generate, create, and position content dynamically in WPF. See links for example code.
Should I learn more about WPF
Yes, you should learn more about WPF.
or is there any simple WinForms-like analogs, that support transparency and will allow me to create text-based games with UI?
Yes, you can create transparent windows and transparent controls in WPF.
I hope these resources are useful to you.

Creating a Windows desktop app not a metro/store app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I realize this may be a misplaced question on this forum but most other forums are less that useless!
I've been searching for tutorials on creating a Windows Desktop program, not a Windows Metro/Store app. All I can find is metro and store.
Can someone point me in the right direction for getting started on this? This is what I have chosen in VS2012:
vs2012 new windows empty project
I will eventually be importing an API but for now I want to get working on a GUI layout. Any pointers/clarification would be great.
If you want to create a Windows GUI app, you should use either Windows Forms Application or WPF Application. These are the primary two ways in which Windows desktop applications are created in C#. Note that the controls offered through these are different from one another, and the basic fashion in which the UI is constructed is totally different as well.
Windows Forms is fairly simple, and uses a visual designer to add controls to the form. WPF relies much more strongly on a complex markup based language, XAML, in which the UI is written in code. WPF offers a great deal more options as far as customizing controls and their appearances, but in order to use it to its greatest potential you have to spend a decent amount of time and frustration understanding how binding works within XAML.

Need an advanced RichTextBox which is just the same as Microsoft Word uses [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
First of all, I've searched like all the forums in internet and haven't found my ideal answer, SO before you mark it as duplicate question plz read the question.
We're creating an application which contains a simple visual studio RichTextBox.
The problem is it's too simple for our application and we need an advanced one!
So we tried some advanced components such as Telerik, DevComponents and ComponentOne enhanced RichTextBoxes,
But they don't seem to be our ideal control! and we REALLY need a RichTextBox which be just the same as the one Microsoft Word uses it.
For example: The Righ-To-Left capability for some languages like hebrew and arabic, creating tables, and an approperiate Paste function was some of the lacks which are in those components.
So we're desperately asking for your suggestion about an advanced RichTextBox component that offers just the same capabilities as the one Microsoft office uses and we'd appreciate your help.
EDIT:
I solved my problem by using EDOffice Viewer Component
Anyways, by closing this Question, you just ignored what u couldn't answer. n u could just admit that u weren't expert enough to answer this!
You can use microsoft word itself in your application. You can embed word document itself on the windows form, but required word to be installed in all the PCs where your application is running.
The other solution is, you can browser control. You can use jQuery and any jQuery rich textbox plugins which suits your needs.
Hey Go through the Given link RichTextBox Demo
It's so Simple to integarte with your Application,If you are using Web based application.
The links contain Source code also.
Cheers

Modern UI desktop design using .NET [closed]

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 3 years ago.
Improve this question
wondering how to create such app like Microsoft Expression Blend 4, with the modern design.
Very interested with the scroll and tab panel. The scroll is modern look, small and thin, unlike those wide scroll bars normally found in Windows Explorer.
Expression Blend 4 is a Windows Presentation Foundation (WPF) Application.
WPF allows you to customize nearly every aspect of the UI (including the scrollbars if you'd like).
Since you specifically call out the scroll panels, here's a tutorial that shows you specifically how to customize the look of the scroll bar by modifying the WPF template:
sachabarber.net >> Styling a ScrollViewer/Scrollbar in WPF
The nice thing about WPF is that once you understand how to modify things by changing their template, you can use the same method to change the look/feel of just about anything.
You could use DevExpress components for Windows Forms or WPF.
WPF is the way to go. Look at some of the themes here to get an idea.
There is even an Expression Dark theme.
Telerik has a sweet WinForms suite that has many sleek looking controls. That might be a good starting point.

Categories