Check out this time-saving article on visual studio 2005 tips and tricks: http://msdn2.microsoft.com/en-us/library/bb245788(vs.80).aspx from MSDN Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!
Here is my first Windows Presentation Foundation (WPF) application. This was developed using Orcas March CTP and deployed using VS 2005 + WPF extensions due to a bug in Orcas with ClickOnce (read previous post). This is a simple notepad replacement with multiple tabs and spell checking. It works and looks better in Vista. Get(…)
For some reason, I couldn’t get ClickOnce to work correctly using the Orcas March CTP. So when time came to deploy I move my files to VS 2005 + WPF Extensions and deployed it from there. It worked right away. Does anyone know of a fix for this? Share this post: email it! | bookmark(…)
In the window XAML add the namespace of your control. So, if your control is called MyControl and your project is called MyProj then most likely the full namespace is MyProj.MyControl. The control might look like this: <UserControl x:Class=“MyControl” xmlns=“http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=“http://schemas.microsoft.com/winfx/2006/xaml“> <DockPanel> <Button>Test</Button> <Button>Test</Button> <Button>Test</Button> <Button>Test</Button> </DockPanel> </UserControl> Your form header will look like(…)
You can add a context menu to tab control or to individual tabs. If you add it to tab control it works on anywhere in the tab area. If you add it to a tab item, it only works on that tab item. Take a look at this code: <TabControl Name=“tcMain“ > <TabControl.ContextMenu> <ContextMenu Name=“mnuTabContext1“>(…)