• Uncategorized

    Posted on March 11th, 2007

    Written by Emad Ibrahim

    Tags

    Visual Studio 2005 Tips

    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!

  • Uncategorized

    Posted on March 9th, 2007

    Written by Emad Ibrahim

    Tags

    My First WPF Application

    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 [...]

  • Uncategorized

    Posted on March 9th, 2007

    Written by Emad Ibrahim

    Tags

    ClickOnce in WPF and Orcas Project

    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 [...]

  • Uncategorized

    Posted on March 9th, 2007

    Written by Emad Ibrahim

    Tags

    How to add a User Control to your WPF Window

    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 [...]

  • Uncategorized

    Posted on March 8th, 2007

    Written by Emad Ibrahim

    Tags

    Add Context Menu to Tab Control in WPF

    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“> [...]

  • Older Posts Yeah! There are more posts, check them out.

    Newer Posts Yeah! There are more posts, check them out.