About Emad Ibrahim

http://www.emadibrahim.com

Posts by Emad Ibrahim:

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(…)

How to add a User Control to your WPF Window

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(…)

Add Context Menu to Tab Control in WPF

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“>(…)

Visual Studio Orcas and WPF First Impressions

Visual Studio Orcas and WPF First Impressions

I decided to play around with Orcas and luckily, Microsoft provides a fully working virtual machine with everything installed. That is GREAT and I hope they do that with all their beta tools. You can get Virtual PC 2007 for free from http://www.microsoft.com/downloads/details.aspx?FamilyId=04D26402-3199-48A3-AFA2-2DC0B40A73B6&displaylang=en and you can get the virtual machine image from http://www.microsoft.com/downloads/details.aspx?familyid=281fcb3d-5e79-4126-b4c0-8db6332de26e&displaylang=en. Don’t forget(…)

Animated Wallpapers in Vista using DreamScene

Animated Wallpapers in Vista using DreamScene

You can get a couple of sample video for DreamScene Ultimate Extra for windows vista. Do you know of any others? To get them, right-click on an image below to save the video. Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!