How to add visual controls to a Console application? - c#

I am looking for a way to add visual controls into a console application. Is this supported by Visual Studio? If yes how to do it? any samples or links?
By visual controls I mean text boxes, menus, etc... Something similar to the following picture:
Thank you!

You probably want something like NCurses or MonoCurses as there's nothing really built in to do this for you, interacting with the console is pretty basic.
See these links:
http://mono-project.com/MonoCurses
http://sourceforge.net/projects/curses-sharp/

Related

Curious about the name of a specific .NET control

I'm curious if .NET and C# would allow me to include a control as such into my WinForms application?
This is a screenshot of how it looks like in Visual Studio 2010.
PS. Sorry for being too vague. I guess I'm looking for the name for this control.
It is called PropertyGrid control. See: PropertyGrid

silverlight dropdown menu

i'm trying to built a dropdown menu for a silverlight web application. it should look something like showed on the Screenshot. Does somebody has an idea how to implement this? I tried to use sl4popupmenu but the downloadable project doesn't work in expression blend or visual studio designer.
Regards,
float
That shouldn't be too difficult to do. I'd suggest using Blend and then just edit the template for the Combobox control. You can get pretty crazy with what you can do with templates.

How to create a stylish tab contol with items inside it like visual studio 2010

I want to develop an application. I want to create a stylish tab control and display pictures like Form1.cs looks like in visual studio tab control ,and i want to highlight it a yellow color when it is clicked.
you can understand by seeing this image,
There would be a great appreciation if someone could help me.
Thanks In Advance.
You need WPF.
AFAIK, AvalonDock is one good library made for very similar look. You need to check its forum for examples and latest discussions.
Have you looked at WPF (Windows Presentation Foundation)? The IDE Shell of Visual Studio 2010 (from the screenshot) has been written using WPF.

How to display a form inside another form like Visual Studio

How does Visual Studio and other similar programs display a form in their IDE?
Is it possible to achieve the same or a similar effect using C# or VB.NET?
Please see the picture below to get what I mean.
If you are talking about hosting a Winforms editor in your code, it is entirely possible and is actually built in to the .NET framework!
The Essence is the IDesignerHost interface. The whole system is complicated, but can be done (I have done it in production code for runtime layout configuration editing). There is a sample of code from Microsoft here.
I'm sure if you search fir 'IDesignerHost' you'll find enough reference material to figure it out.
Are you speaking about UI creating tools?
Refer to http://www.icsharpcode.net/opensource/sd/ - SharpDevelop for deep dive. It's open sourse, so you'll be able to find out more details.
I believe what you want is a multiple document interface (MDI) see http://msdn.microsoft.com/en-us/library/ms973874.aspx for more info.

.net Workflow Foundation Editor

Is it possible to integrate the .net workflow foundation editor (from VisualStudio) or a similar control into an other application?
Otherwise i have to program it by my self.
I have to realize an interactive diagram chart in which the user can put in new actions, parameter and something.
Thanks for your information!
It is! :)
The technique is called "Workflow Designer Re-Hosting", and you can read more about it on MSDN.
Yes, it is possible. In the project I am currently working on, we use the Workflow Foundation designer in a WinForms front end. You can see a screenshot here. But I cannot tell you exactly how it is done because I joined to project when this was already done.

Categories

Resources