WPF: creating an app that looks like Visual Studio 2010 - c#

How do you create a desktop application using C# that would look like Visual Studio 2010?
Here's an example
What development environments can you use?
Can you recommend any samples, tutorials or blogposts?
edit:
I think I found what I was looking for... http://wpfthemes.codeplex.com/. Thank you all for your answers.

The video shows a plug-in for VS, but the basic answer is WPF.

I think the best approach is to do it the way Visual Studio does. Starting in 2010 the Visual Studio shell is a WPF application which has a very distinctive Win32 look and feel. I believe, but don't know, that a lot of this is done via styling and themes. So a simply WPF Application project would be the starting point of the solution.
Getting into applying styling and themes is beyond the scope of a simple SO answer. Could you be a bit more specific about what you want?

Related

Visual studio installer project multi language support

I have a c# WPF application which is able to switch in deferent language as per customer wants. I also created a setup project for the same. I need to make the setup project also be able to switch language.
The problem is, the 'Visual studio installer project' doesn't have an option to do that. There is an option to set language for MSI. However dynamically changing the language is not supported
I have already googled it and no solution found.
some of the similar posts links are below. which also have no correct answer
c# Setup Project Localization
How to create preview choosing setup language in Visual Studio Project Installer?
Any idea how to do that. Thanks in advance
I don't have much experience regarding this, but:
The Wix installer seems to have support for localization:
https://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/
VDProject seems to be the right way to move forward aswell:
https://devblogs.microsoft.com/buckh/visual-studio-setup-projects-vdproj-will-not-ship-with-future-versions-of-vs/

How to acces XAML source in c# project (Visual Studio)

This is probably newbie question, but I would like to know how to acces (view) the XAML code in Windows Application Project (C#) in Visual Studio. I mean just like the XML code, that you can see when you create Windows Phone Application.
Yeah I know, that this might seem stupid, but I tried to google it and there were no answers.
The tabs at the bottom of visual studio should be what you're looking for.
The tabs shown below:

How to create a desktop shortcut based upon user Input?

I am creating setup for a Windows Forms Application using Visual Studio 2010. I know how to create shortcut on the desktop during the setup. My question is,
How to add a checkbox during the setup asking the user "Do you want to create a shortcut on the desktop"?
What I found out, adding your own checkboxes can be a bit cumbersome, but here is an in-depth guide I stumbled upon:
Create custom dialogs for use in your Visual Studio Setup projects
The article explains it for the VS2010 using Visual Studio's own installer dialogs and would probably be the way to go.
For VS2003 there is a bit different guide, might be worth checking out:
Conditional Install of Desktop and Quick Launch Shortcuts
(possible duplicate of this)

Workflow when creating a Windows Phone App, Expression Blend and Visual Studio

I'm busy with a Windows Phone 7 application using Visual Studio 2010 only. I've read that one can also use Expression Blend to develop the app. But there a few things that I'd like to clear up regarding how one works with both these applications when developing an app.
Firstly I know how it works in Visual Studio, you can create the UI with xaml code, and then add interactivity with your C# code. So what exactly is Expression blend for? Is it more geared toward designing the interface and not so much interactivity? Can you do interactivity in Expression blend at all?
From what I can gather (again I'm not sure about this), one works with both these applications. Expression Blend for the UI, and Visual Studio for the back-end/interactivity. Is this correct?
Assuming that the above is correct. How do you go about this? Can you work on the same solution in both programs? What would your typical workflow be like when working on both these programs?
Thanks in advance!
Your assumptions are correct; Visual Studio is used primarily to write the code that makes the programs work, while Blend is used to design the UI. Blend primarily works by dragging UI elements into their desired position, though you can also directly manipulate the XAML if you wish, or both, even.
You can edit the code-behind in Blend, but you'll be missing a lot of functionality Visual Studio offers in that department.
You can have the same solution open in both Blend and Visual Studio and switch between them as needed, but changes to either won't be picked up by the other until you save the modified files.
Personally, I use Visual Studio for the coding, and Blend for the design. Both open at the same time, with the same solution loaded.

VS2010 add-in custom menu item in files of Solution Explorer

I need to create a custom menu item for Visual Studio 2010 Add-in in C#, but I have had no luck in finding a solution for my needs.
I am aware that there was a similar post (Visual Studio Add-In - adding a context menu item to solution-explorer), but it did not help, as the blog follows the process through the integration package, and the video is done through VB. I had attempted to convert the VB syntax to the C# syntax, but about half way through the video, the Add-in methods has significantly changed from 2005 to 2010, as some of the methods have removed or changed.
Is there any good tutorials on making a custom menu item on the Solution Explorer in the lastest Visual Studio in C#, and is there a good website that could be used as a reference for looking over the VS add-in API? I've used Microsoft's main website, however it is confusing and wordy, which is difficult to understand and find the methods, properties, or commands that I am looking for.
Any help would be appreicated, Thanks in advance.
what are you writing? a number of cool add-ons already exist that might solve your problem..
such as vs 2010 Pro Power Tools
I don't know anything about it but you might want to check out MME MenuManagerTemplate and the sister project on CodePlex Managed Menu Extensions
Looks like the majority of the code is in the project on CodePlex so you could see how that project is implemented.

Categories

Resources