Which Tab Control does Visual Studio 2008 use? - c#

Which tab control does VS 2008 use and is it possible to reference and use it in C# projects? I have not been able to find anything on the web about it, but admittedly "VS2008 Tab Control" is a bit generic.
It's a great tab control and I would love to leverage it in my own projects.

There is a wonderful one on SourceForge: WeifenLuo.WinFormsUI.Docking (or DockingSuite). Sorry no link (yet).
Update
Sourceforge link: Dock Panel Suite
Sample Project on CodeProject: A Visual Studio 2005-like Interface

The VS2008's tabbed MDI control is not available but there are some third party components that are quite good at it. Developer Express has one.
Further reading about tabbed MDI can be found on wikipedia

The document editing area in Visual Studio 2008 is more than just a tab control. It allows you to place documents in a vertical or horizontal stack. There is nothing similar provided as part of the standard window forms controls. You need to either create your own control or buy a third party control that performs the same action.

Related

How can I have a solution based layout for my WinForms application?

I am coding a C# forms application where I am wanting to have the layout of my application to have a similar style of the Visual Studio 2013 layout. By this, I mean to have a property grid at the lower right of the screen, a solution explorer to the top right of the screen, tabs for the content and a toolbox.
Do I need to use a FlowLayout control for this? I have previously found some sample code with this layout all coded to use as a template, however I cannot seem to find this after doing a search. What is the correct terminology for this layout style? Also, is there a Microsoft sample for this?
Here is an image of what I am looking for:
Thanks.
You can use the following readily made controls from Visual Studio:
System.Windows.Forms.PropertyGrid for the properties
System.Windows.Forms.TreeView for the solution explorer
For the toolbox you will need to create a custom-control, with search box and dropdown tabbing of pages. See making of custom controls here:
https://msdn.microsoft.com/en-us/library/vstudio/6hws6h2t(v=vs.100).aspx
http://www.codeproject.com/Articles/2016/Writing-your-Custom-Control-step-by-step

Create own toolbox element in VS 2012 .Net-Framework 4 (c#)

is there any possibility to create your own button as toolbox element (for other projects) in Visual Studio 2012 (version 11.0.50727.1)?
I just need a button (like the button from iTunes) for another project. (Tutorials are also welcome).
WPF
Since this ended up being Wpf, I believe the easist way to go would be to create a WpfControlLibrary that is used for UserControls that way it would be easier for you to customize the look and feel of your Button. It can also be added to your ToolBox by right clicking on your ToolBox and Selecting Choose Items then Select WpfComponents and Browse to your Dll.
See these Links:
http://msdn.microsoft.com/en-us/subscriptions/bb514641.aspx
What is the difference between a User Control Library and a Custom Control Library?
http://msdn.microsoft.com/en-us/library/system.windows.controls.usercontrol.aspx
You will need to create a custom control for your button and compile it into a separate dll. Then add this control from this dll to the toolbox.
See for example here: http://dhavalupadhyaya.wordpress.com/2008/07/20/how-to-add-custom-control-in-visual-studio-toolbox/
I'm assuming you are talking about a WPF button. If it's for one extra project, you are perhaps best off creating a button style in a seperate XAML resource file and reusing that file in the second project. If you need to create a reusable control to the extent that you need a button for it in the VS toolbox, then see here: http://msdn.microsoft.com/en-us/library/ee712573.aspx

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 create custom C# widgets?

What is the best approach and/or tool?
The trackBar in the MS Visual Studio 2008 Toolbox is inadequate.
It needs to be optimized for an 800x480 touch screen in extreme environmental conditions.
The button on the trackBar needs to be larger so it is easier for the user to move the control using a finger. Its possible with the existing widget, but difficult since the button is small. I am using C# in MS Visual Studio 2008, but don't know if it is WinForms or WPF (this is my 1st C# project). The target is an old windows-ce tablet. It would be great if step-by-step instructions on how to create a custom control already exist. An alternative would be a tool I could purchase.
Here are a couple tutorials on creating custom controls:
Using Winforms
http://blogs.msdn.com/b/jfoscoding/archive/2004/12/06/275505.aspx
http://msmvps.com/blogs/deborahk/archive/2009/10/13/winforms-user-controls-101.aspx
Using WPF
http://msdn.microsoft.com/en-us/library/cc295235.aspx
http://www.wpftutorial.net/HowToCreateACustomControl.html
It might be a good idea to read up on the basics, then ask more specific questions that you have regarding the nuances of creating a custom control.

How do I allow my app to have drag and drop toolboxes like Visual Studio?

How do I allow my app to have drag and drop toolboxes like Visual Studio?
For a basic (and free) third party solution to do it look into DockPanel Suite. But as other said multiple other free or paid solutions exists.
Your best bet would be a third-party component to do this. Primarily, you are looking for something that provides docking windows on your form (which would more than likely be provided by a control you place on the form which would take up the entire form).
As always, I recommend using the DevExpress DXperience Components & Tools. In particular, you want to look into the Docking Functionality article.
There are free toolkits to do this also, but I've not used any.

Categories

Resources