<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tayyab Bin Tariq &#187; Technology</title>
	<atom:link href="http://tayyab.xenoglaux-solutions.com/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://tayyab.xenoglaux-solutions.com</link>
	<description>I like sharing what i know</description>
	<lastBuildDate>Fri, 21 May 2010 20:59:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create A Simple WPF Ribbon Control: What I learnt Today?</title>
		<link>http://tayyab.xenoglaux-solutions.com/2010/04/18/create-a-simple-wpf-ribbon-control-what-i-learnt-today/</link>
		<comments>http://tayyab.xenoglaux-solutions.com/2010/04/18/create-a-simple-wpf-ribbon-control-what-i-learnt-today/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 17:45:51 +0000</pubDate>
		<dc:creator>tayyabtariq</dc:creator>
				<category><![CDATA[Computer Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[WILT]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[Ribbon]]></category>
		<category><![CDATA[Ribbon control]]></category>
		<category><![CDATA[Visual Studio.NET]]></category>
		<category><![CDATA[What I Learnt Today?]]></category>
		<category><![CDATA[Windows Presentation Foundation]]></category>

		<guid isPermaLink="false">http://tayyab.xenoglaux-solutions.com/2010/04/18/create-a-simple-wpf-ribbon-control-what-i-learnt-today/</guid>
		<description><![CDATA[In this tutorial I would explain how to create a simple Ribbon Control using Windows Presentation Foundation. 
 
Image Courtesy MSDN.

The WPF team is sharing new WPF Ribbon control starting on Monday, October 27, 2008! Binaries and source code for the Ribbon can be downloaded at the Office UI Licensing site.
So, your first step is [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">In this tutorial I would explain how to create a simple <a href="http://msdn.microsoft.com/en-us/library/cc872782.aspx" target="_blank">Ribbon Control</a> using <a href="http://msdn.microsoft.com/en-us/library/ms754130.aspx" target="_blank">Windows Presentation Foundation</a>. </p>
<p align="justify"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image.png" width="504" height="209" /> </p>
<p align="justify"><em><strong>Image Courtesy MSDN.</strong></em></p>
<div align="justify"><span id="more-171"></span></div>
<p align="justify">The WPF team is sharing new WPF Ribbon control starting on Monday, October 27, 2008! Binaries and source code for the Ribbon can be downloaded at the Office UI Licensing site.</p>
<p align="justify">So, your first step is to go to Office UI Licensing site and get yourself a free WPF ribbon control. You must accept and sign license (it’s not a big deal) and download free WPF ribbon control. <strong><a href="http://msdn.microsoft.com/hr-hr/office/aa973809%28en-us%29.aspx">Just follow this link</a>.</strong></p>
<h2 align="justify">What is Ribbon Control?</h2>
<p align="justify">Ribbons are the modern way to help users find, understand, and use commands efficiently and directly—with a minimum number of clicks, with less need to resort to trial-and-error, and without having to refer to Help.</p>
<p align="justify">The preview version of the WPF Ribbon includes many of the features which Independent Software Vendors (ISVs) need to add a Ribbon control to their WPF applications. Ribbon is a command bar that organizes a program&#8217;s features into a series of tabs at the top of a window. The Ribbon UI was designed by Microsoft Office to increase discoverability of features and functions, enable quicker learning of the program as a whole, and make users feel more in control of their experience with the program. The Ribbon is designed to replace the traditional menu bar and toolbars. The WPF Ribbon will include all of the basic Ribbon features and functionality, including tabs, groups, controls (buttons, split buttons, galleries, etc.), title bar integration of the application menu button and quick access toolbar, and resizing with dynamic layout.</p>
<p align="justify">For more information, follow <a href="http://msdn.microsoft.com/en-us/library/cc872782.aspx" target="_blank">this link</a>.</p>
<p align="justify">&#160;</p>
<h2 align="justify">Step 1: Adding The Ribbon Control to your WPF Application</h2>
<p align="justify">1. Create a new WPF Project using Visual Studio .NET 2008.</p>
<p align="justify">2. Add a reference to “RibbonControlsLibrary.dll” that you downloaded earlier.</p>
<p align="justify"><a href="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image_thumb.png" width="504" height="316" /></a> </p>
<p align="justify">3. Add the XAML Reference to the DLL you have just added to your project by adding this line to your XAML code.</p>
<p align="justify">xmlns:r=&quot;clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary&quot;</p>
<p align="justify">4. Change the root element of your XAML code to r:RibbonWindow instead of Window. </p>
<div align="justify">
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonWindow</span> <span style="color: #ff0000">x:Class</span><span style="color: #0000ff">=&quot;FirstRibbonApplication.Window1&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span>     <span style="color: #ff0000">xmlns</span><span style="color: #0000ff">=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>     <span style="color: #ff0000">xmlns:x</span><span style="color: #0000ff">=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>     <span style="color: #ff0000">xmlns:r</span><span style="color: #0000ff">=&quot;clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>     <span style="color: #ff0000">Title</span><span style="color: #0000ff">=&quot;Window1&quot;</span> <span style="color: #ff0000">Height</span><span style="color: #0000ff">=&quot;300&quot;</span> <span style="color: #ff0000">Width</span><span style="color: #0000ff">=&quot;300&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">Grid</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>         </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>     <span style="color: #0000ff">&lt;/</span><span style="color: #800000">Grid</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span> <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonWindow</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></div>
</p></div>
</div>
<p align="justify">5. Add the r:Ribbon tag to your XAML code.</p>
<div align="justify">
<pre>&lt;r:Ribbon Title=&quot;WPF Ribbon - Document1&quot; x:Name=&quot;ribbon&quot; /&gt;</pre>
</div>
<p align="justify">Your XAML code should now look like this;</p>
<div align="justify">
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonWindow</span> <span style="color: #ff0000">x:Class</span><span style="color: #0000ff">=&quot;FirstRibbonApplication.Window1&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">xmlns</span><span style="color: #0000ff">=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">xmlns:x</span><span style="color: #0000ff">=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">xmlns:r</span><span style="color: #0000ff">=&quot;clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">Title</span><span style="color: #0000ff">=&quot;Window1&quot;</span> <span style="color: #ff0000">Height</span><span style="color: #0000ff">=&quot;300&quot;</span> <span style="color: #ff0000">Width</span><span style="color: #0000ff">=&quot;300&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">&lt;</span><span style="color: #800000">Grid</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">       <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:Ribbon</span> <span style="color: #ff0000">Title</span><span style="color: #0000ff">=&quot;WPF Ribbon - Document1&quot;</span> <span style="color: #ff0000">x:Name</span><span style="color: #0000ff">=&quot;ribbon&quot;</span> <span style="color: #0000ff">/&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">&lt;/</span><span style="color: #800000">Grid</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonWindow</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></div>
</p></div>
</div>
<p align="justify">Congratulations! you have successfully added a ribbon control to your WPF application. Before you can see the control you would need to make a few changes to the accompanying cs file. Open the cs and add the following library and make sure that the partial class inherits from RibbonWindow instead of Window.</p>
<div align="justify">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">using</span> Microsoft.Windows.Controls.Ribbon;</pre>
<p><!--CRLF--></div>
</div>
<p align="justify">
<p align="justify">Compile and run the application to see the results.</p>
<p align="justify"><a href="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image_thumb1.png" width="504" height="412" /></a> </p>
<h2>Step 2: Adding Tabs, Groups and Buttons</h2>
<p align="justify">As described earlier a ribbon control contains different tabs, each tab contains a groups and groups in turn contain buttons. In this step we would create tabs, groups and buttons.</p>
<p align="justify">1. To add tabs to your ribbon control add the r:RibbonTab tag within the r:Ribbon tag you added in the last step.</p>
<div>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonTab</span> <span style="color: #ff0000">Label</span><span style="color: #0000ff">=&quot;Home&quot;</span><span style="color: #0000ff">&gt;</span>

<span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonTab</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonTab</span> <span style="color: #ff0000">Label</span><span style="color: #0000ff">=&quot;Insert&quot;</span><span style="color: #0000ff">&gt;</span>

<span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonTab</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonTab</span> <span style="color: #ff0000">Label</span><span style="color: #0000ff">=&quot;Help&quot;</span><span style="color: #0000ff">&gt;</span>

<span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonTab</span><span style="color: #0000ff">&gt;</span></pre>
</div>
<div>Your application should look somewhat like this now. Note that the support for hovering and clicking has been added automatically.</div>
<div><a href="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image_thumb2.png" width="504" height="475" /></a>&#160; </div>
<div>2. To add groups within a tab, place the r:RibbonGroup tag inside the r:RibbonTab tag.</div>
<div>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonGroup</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Clipboard&quot;</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonGroup</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonGroup</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Fonts&quot;</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonGroup</span><span style="color: #0000ff">&gt;</span></pre>
</div>
<div>I am adding Clipboard and Fonts tabs within the Home tab. </div>
<div><strong>Note: If you run the application containing empty Ribbon Groups it would crash.</strong></div>
<div>3. Now to add buttons, place the r:RibbonButton tags inside the r:RibbonGroup tags you just created.</div>
<div>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonButton</span> <span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">r:RibbonButton</span><span style="color: #0000ff">&gt;</span></pre>
</div>
<div>Your code should not look like this;</div>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonWindow</span> <span style="color: #ff0000">x:Class</span><span style="color: #0000ff">=&quot;FirstRibbonApplication.Window1&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">xmlns</span><span style="color: #0000ff">=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">xmlns:x</span><span style="color: #0000ff">=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">xmlns:r</span><span style="color: #0000ff">=&quot;clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">Title</span><span style="color: #0000ff">=&quot;Window1&quot;</span> <span style="color: #ff0000">Height</span><span style="color: #0000ff">=&quot;300&quot;</span> <span style="color: #ff0000">Width</span><span style="color: #0000ff">=&quot;300&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">&lt;</span><span style="color: #800000">Grid</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">        <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:Ribbon</span> <span style="color: #ff0000">Title</span><span style="color: #0000ff">=&quot;Window1&quot;</span> <span style="color: #ff0000">x:Name</span><span style="color: #0000ff">=&quot;ribbon&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonTab</span> <span style="color: #ff0000">Label</span><span style="color: #0000ff">=&quot;Home&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonGroup</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Clipboard&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                    <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonButton</span> <span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">r:RibbonButton</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonGroup</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">&#160;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonGroup</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Fonts&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                    <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonButton</span> <span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">r:RibbonButton</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonGroup</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonTab</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonTab</span> <span style="color: #ff0000">Label</span><span style="color: #0000ff">=&quot;Insert&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">&#160;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonTab</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonTab</span> <span style="color: #ff0000">Label</span><span style="color: #0000ff">=&quot;Help&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">&#160;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonTab</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">        <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:Ribbon</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">&lt;/</span><span style="color: #800000">Grid</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonWindow</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></div>
</div>
<div>Congratulations! You have successfully created tabs, groups and buttons in your ribbon control application.</div>
<div><a href="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image_thumb3.png" width="504" height="402" /></a> </div>
<div>Note that the buttons are still blank. We will take care of this in Step 3.</div>
<h2>Step 3: Adding Commands to Ribbon Groups and Ribbon Buttons</h2>
<div>In this step we would define resources for our ribbon groups and ribbon buttons and define commands on them.</div>
<div>1. Create an Images folder and add some images to act as icons for your ribbon buttons. </div>
<div>2. Use the following XAML code to define a resource dictionay within the RibbonWindow tag. We would use this to define resources for our buttons.</div>
<div>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonWindow.Resources</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">ResourceDictionary</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">ResourceDictionary</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonWindow.Resources</span><span style="color: #0000ff">&gt;</span></pre>
</div>
<div>3. Now add a resource for our Clipboard Ribbon Group. The code would look like this.</div>
<div>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonCommand</span> <span style="color: #ff0000">x:Key</span><span style="color: #0000ff">=&quot;ClipboardGroupCommand&quot;</span><span style="color: #ff0000">CanExecute</span><span style="color: #0000ff">=&quot;OnCanExecute&quot;</span><span style="color: #ff0000">Executed</span><span style="color: #0000ff">=&quot;OnShowClipboardGroup&quot;</span><span style="color: #ff0000">LabelTitle</span><span style="color: #0000ff">=&quot;Clipboard&quot;</span><span style="color: #0000ff">/&gt;</span></pre>
</div>
<div><strong>x:Key</strong> is used to reference this element. </div>
<div><strong>CanExecute</strong> and <strong>Execute</strong> are holding names for events that would be fired. </div>
<div><strong>LabelTitle</strong> holds the title of the group we are creating this resource for.</div>
<div>4. Once the resource has been defined, let us use it for the Clipboard group. </div>
<div>Find this part in your XAML code;</div>
<div>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonGroup</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Clipboard&quot;</span><span style="color: #0000ff">&gt;</span></pre>
</div>
<div>and replace it with </div>
<div id="codeSnippetWrapper">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonGroup</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Clipboard&quot;</span> <span style="color: #ff0000">HasDialogLauncher</span><span style="color: #0000ff">=&quot;True&quot;</span> <span style="color: #ff0000">Command</span><span style="color: #0000ff">=&quot;{StaticResource ClipboardGroupCommand}&quot;</span><span style="color: #0000ff">&gt;</span></pre>
</div>
<p>Now, we have connected our resource with RibbonGroup. I have added HasDialogLauncher=”True” because that will allow us to fire OnShowClipboardGroup&#160; event when user clicks on dialog launcher.</p>
</p>
</p>
</p>
</p>
</p>
<p>5. Go to your CS code-behind file and add these lines:</p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">private</span> <span style="color: #0000ff">void</span> OnCanExecute(<span style="color: #0000ff">object</span> target, CanExecuteRoutedEventArgs args){args.CanExecute = <span style="color: #0000ff">true</span>;}

<span style="color: #0000ff">private</span> <span style="color: #0000ff">void</span> OnShowClipboardGroup(<span style="color: #0000ff">object</span> target, ExecutedRoutedEventArgs args){MessageBox.Show(<span style="color: #006080">&quot;This is the Clipboard!.&quot;</span>, <span style="color: #006080">&quot;Clipboard Dialog&quot;</span>);}</pre>
<p></div>
</p>
<p>In principal we are done with this step and the essential concepts have been learnt. You can now learn your application and test to see that the message box is displayed.</p>
<p><a href="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image7.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image_thumb6.png" width="504" height="404" /></a> </p>
</p>
<p>Similar to step 4 and 5 create another RibbonCommand, add the resource to the Copy Button and write the corresponding cs code.</p>
<p>Creating another RibbonCommand;</p>
<div id="codeSnippetWrapper">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonCommand</span><span style="color: #ff0000">x:Key</span><span style="color: #0000ff">=&quot;CopyCommand&quot;</span><span style="color: #ff0000">CanExecute</span><span style="color: #0000ff">=&quot;OnCanExecute&quot;</span><span style="color: #ff0000">Executed</span><span style="color: #0000ff">=&quot;OnCopyCommand&quot;</span><span style="color: #ff0000">LabelTitle</span><span style="color: #0000ff">=&quot;Copy&quot;</span><span style="color: #ff0000">LargeImageSource</span><span style="color: #0000ff">=&quot;Images\copy.png&quot;</span><span style="color: #ff0000">ToolTipTitle</span><span style="color: #0000ff">=&quot;Copy (Ctrl+C)&quot;</span><span style="color: #ff0000">ToolTipDescription</span><span style="color: #0000ff">=&quot;Copies the selected content on to the clipboard&quot;</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonCommand</span><span style="color: #0000ff">&gt;</span></pre>
<p>Adding the RibbonCommand to the RibbonButton;</p></div>
<div>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonButton</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Copy&quot;</span> <span style="color: #ff0000">Command</span><span style="color: #0000ff">=&quot;{StaticResource CopyCommand}&quot;</span><span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">r:RibbonButton</span><span style="color: #0000ff">&gt;</span></pre>
</div>
<div>Adding the event to the code-beside file;</div>
<div>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">private</span> <span style="color: #0000ff">void</span> OnCopyCommand(<span style="color: #0000ff">object</span> target, ExecutedRoutedEventArgs args){    MessageBox.Show(<span style="color: #006080">&quot;This is the copy button!.&quot;</span>, <span style="color: #006080">&quot;Copy Dialog&quot;</span>);}</pre>
</div>
<div>Your XAML code should look like this now;</div>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonWindow</span> <span style="color: #ff0000">x:Class</span><span style="color: #0000ff">=&quot;FirstRibbonApplication.Window1&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">xmlns</span><span style="color: #0000ff">=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">xmlns:x</span><span style="color: #0000ff">=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">xmlns:r</span><span style="color: #0000ff">=&quot;clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #ff0000">Title</span><span style="color: #0000ff">=&quot;Window1&quot;</span> <span style="color: #ff0000">Height</span><span style="color: #0000ff">=&quot;600&quot;</span> <span style="color: #ff0000">Width</span><span style="color: #0000ff">=&quot;400&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonWindow.Resources</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">        <span style="color: #0000ff">&lt;</span><span style="color: #800000">ResourceDictionary</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonCommand</span> <span style="color: #ff0000">x:Key</span><span style="color: #0000ff">=&quot;ClipboardGroupCommand&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                             <span style="color: #ff0000">CanExecute</span><span style="color: #0000ff">=&quot;OnCanExecute&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                             <span style="color: #ff0000">Executed</span><span style="color: #0000ff">=&quot;OnShowClipboardGroup&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                             <span style="color: #ff0000">LabelTitle</span><span style="color: #0000ff">=&quot;Clipboard&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonCommand</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonCommand</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #ff0000">x:Key</span><span style="color: #0000ff">=&quot;CopyCommand&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #ff0000">CanExecute</span><span style="color: #0000ff">=&quot;OnCanExecute&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #ff0000">Executed</span><span style="color: #0000ff">=&quot;OnCopyCommand&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #ff0000">LabelTitle</span><span style="color: #0000ff">=&quot;Copy&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #ff0000">LargeImageSource</span><span style="color: #0000ff">=&quot;Images\copy.png&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #ff0000">ToolTipTitle</span><span style="color: #0000ff">=&quot;Copy (Ctrl+C)&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #ff0000">ToolTipDescription</span><span style="color: #0000ff">=&quot;Copies the selected content on to the clipboard&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonCommand</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">        <span style="color: #0000ff">&lt;/</span><span style="color: #800000">ResourceDictionary</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonWindow.Resources</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">&lt;</span><span style="color: #800000">Grid</span>  <span style="color: #ff0000">HorizontalAlignment</span><span style="color: #0000ff">=&quot;Stretch&quot;</span> <span style="color: #ff0000">VerticalAlignment</span><span style="color: #0000ff">=&quot;Top&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">        <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:Ribbon</span> <span style="color: #ff0000">Title</span><span style="color: #0000ff">=&quot;Window1&quot;</span> <span style="color: #ff0000">x:Name</span><span style="color: #0000ff">=&quot;ribbon&quot;</span>  <span style="color: #ff0000">VerticalAlignment</span><span style="color: #0000ff">=&quot;Top&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonTab</span> <span style="color: #ff0000">Label</span><span style="color: #0000ff">=&quot;Home&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonGroup</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Clipboard&quot;</span> <span style="color: #ff0000">HasDialogLauncher</span><span style="color: #0000ff">=&quot;True&quot;</span> <span style="color: #ff0000">Command</span><span style="color: #0000ff">=&quot;{StaticResource ClipboardGroupCommand}&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                    <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonButton</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Copy&quot;</span> <span style="color: #ff0000">Command</span><span style="color: #0000ff">=&quot;{StaticResource CopyCommand}&quot;</span><span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">r:RibbonButton</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonGroup</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">&#160;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonGroup</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Fonts&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                    <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonButton</span>  <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;Paste&quot;</span><span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">r:RibbonButton</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">                <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonGroup</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonTab</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonTab</span> <span style="color: #ff0000">Label</span><span style="color: #0000ff">=&quot;Insert&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">&#160;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonTab</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;</span><span style="color: #800000">r:RibbonTab</span> <span style="color: #ff0000">Label</span><span style="color: #0000ff">=&quot;Help&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">&#160;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">            <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonTab</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">        <span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:Ribbon</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">&lt;/</span><span style="color: #800000">Grid</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;/</span><span style="color: #800000">r:RibbonWindow</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></div>
</div>
<div>Now you should be able to see an icon on your Copy Button and an accompanying tooltip.</div>
<div>&#160;<a href="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image8.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2010/04/image_thumb7.png" width="504" height="404" /></a> </p>
<p></div>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2010/04/18/create-a-simple-wpf-ribbon-control-what-i-learnt-today/" target="_blank"><img src="http://tayyab.xenoglaux-solutions.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2010/04/18/create-a-simple-wpf-ribbon-control-what-i-learnt-today/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://tayyab.xenoglaux-solutions.com/2010/04/18/create-a-simple-wpf-ribbon-control-what-i-learnt-today/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Scientists discover how the brain encodes memories at a cellular level</title>
		<link>http://tayyab.xenoglaux-solutions.com/2009/12/26/scientists-discover-how-the-brain-encodes-memories-at-a-cellular-level/</link>
		<comments>http://tayyab.xenoglaux-solutions.com/2009/12/26/scientists-discover-how-the-brain-encodes-memories-at-a-cellular-level/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 17:04:06 +0000</pubDate>
		<dc:creator>tayyabtariq</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Brain]]></category>
		<category><![CDATA[Memory]]></category>
		<category><![CDATA[Neurons]]></category>

		<guid isPermaLink="false">http://tayyab.xenoglaux-solutions.com/2009/12/26/scientists-discover-how-the-brain-encodes-memories-at-a-cellular-level/</guid>
		<description><![CDATA[&#160;
Original article appeared here.
Image credit: Sourav Banerjee
The team of scientists is the first to uncover a central process in encoding memories that occurs at the level of the synapse, where neurons connect with each other.
&#34;When we learn new things, when we store memories, there are a number of things that have to happen,&#34; said senior [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Original article appeared <a href="http://www.physorg.com/news180780161.html">here</a>.</p>
<p>Image credit: Sourav Banerjee</p>
<p>The team of scientists is the first to uncover a central process in encoding memories that occurs at the level of the synapse, where <a href="http://www.physorg.com/tags/neurons/">neurons</a> connect with each other.<a href="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2009/12/45scientistsdi1.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="45-scientistsdi[1]" border="0" alt="45-scientistsdi[1]" align="right" src="http://tayyab.xenoglaux-solutions.com/wp-content/uploads/2009/12/45scientistsdi1_thumb.jpg" width="244" height="244" /></a></p>
<p>&quot;When we learn new things, when we store memories, there are a number of things that have to happen,&quot; said senior author Kenneth S. Kosik, co-director and Harriman Chair in Neuroscience Research, at UCSB&#8217;s Neuroscience Research Institute. Kosik is a leading researcher in the area of Alzheimer&#8217;s disease.</p>
<p>&quot;One of the most important processes is that the synapses &#8212; which cement those memories into place &#8212; have to be strengthened,&quot; said Kosik. &quot;In strengthening a synapse you build a connection, and certain synapses are encoding a <a href="http://www.physorg.com/tags/memory/">memory</a>. Those synapses have to be strengthened so that memory is in place and stays there. Strengthening synapses is a very important part of learning. What we have found appears to be one part of how that happens.&quot;</p>
<p>Part of strengthening a synapse involves making new proteins. Those proteins build the synapse and make it stronger. Just like with exercise, when new proteins must build up muscle mass, synapses must also make more <a href="http://www.physorg.com/tags/protein/">protein</a> when recording memories. In this research, the regulation and control of that process was uncovered.</p>
<p>The production of new proteins can only occur when the <a href="http://www.physorg.com/tags/rna/">RNA</a> that will make the required proteins is turned on. Until then, the RNA is &quot;locked up&quot; by a silencing molecule, which is a micro RNA. The RNA and micro RNA are part of a package that includes several other proteins.</p>
<p>&quot;When something comes into your brain &#8212; a thought, some sort of stimulus, you see something interesting, you hear some music &#8212; synapses get activated,&quot; said Kosik. &quot;What happens next is really interesting, but to follow the pathway our experiments moved to cultured neurons. When synapses got activated, one of the proteins wrapped around that silencing complex gets degraded.&quot;</p>
<p>When the signal comes in, the wrapping protein degrades or gets fragmented. Then the RNA is suddenly free to synthesize a new protein.</p>
<p>&quot;One reason why this is interesting is that scientists have been perplexed for some time as to why, when synapses are strengthened, you need to have proteins degrade and also make new proteins,&quot; said Kosik. &quot;You have the degradation of proteins going on side by side with the synthesis of new proteins. So we have now resolved this paradox. We show that protein degradation and synthesis go hand in hand. The degradation permits the synthesis to occur. That&#8217;s the elegant scientific finding that comes out of this.&quot;</p>
<p>The scientists were able to see some of the specific proteins that are involved in synthesis. Two of these &#8212; CaM Kinase and Lypla &#8212; are identified in the paper.</p>
<p>One of the approaches used by the scientists in the experiment was to take live neuron cells from rats and look at them under a high-resolution microscope. The team was able to see the <a href="http://www.physorg.com/tags/synapses/">synapses</a> and the places where proteins are being made.</p>
<p>Provided by UC Santa Barbara</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/12/26/scientists-discover-how-the-brain-encodes-memories-at-a-cellular-level/" target="_blank"><img src="http://tayyab.xenoglaux-solutions.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/12/26/scientists-discover-how-the-brain-encodes-memories-at-a-cellular-level/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://tayyab.xenoglaux-solutions.com/2009/12/26/scientists-discover-how-the-brain-encodes-memories-at-a-cellular-level/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Laws of Technology</title>
		<link>http://tayyab.xenoglaux-solutions.com/2009/08/06/basic-laws-of-technology/</link>
		<comments>http://tayyab.xenoglaux-solutions.com/2009/08/06/basic-laws-of-technology/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 13:48:02 +0000</pubDate>
		<dc:creator>tayyabtariq</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Basic Laws of Technology]]></category>
		<category><![CDATA[Funny Technology]]></category>

		<guid isPermaLink="false">http://tayyab.xenoglaux-solutions.com/2009/08/06/basic-laws-of-technology/</guid>
		<description><![CDATA[Here are some funny Technology laws.
 
Basic PC Laws
Let&#8217;s start with Nerve Central&#8211;the computer.
Law 1: For every fix that a Windows Update patches, the update will break two more things on your PC. &#8211;Darren Gladstone, PC World
Law 2: The likelihood that Windows will automatically install time-sucking critical updates is directly proportional to your need to [...]]]></description>
			<content:encoded><![CDATA[<h4 align="justify">Here are some funny Technology laws.</h4>
<p> <span id="more-127"></span><br />
<h4 align="justify">Basic PC Laws</h4>
<p align="justify">Let&#8217;s start with Nerve Central&#8211;the computer.</p>
<p align="justify"><strong>Law 1</strong>: For every fix that a Windows Update patches, the update will break two more things on your PC. &#8211;Darren Gladstone, PC World</p>
<p align="justify"><strong>Law 2:</strong> The likelihood that Windows will automatically install time-sucking critical updates is directly proportional to your need to get your PC started. &#8211;Steve Fox, PC World</p>
<p align="justify"><strong>Law 3:</strong> The <a href="http://www.pcworld.com/article/163345/i_think_my_hard_drive_is_dying.html">hard drive always fails</a> just before you were going to <a href="http://www.pcworld.com/businesscenter/article/167827/what_to_look_for_in_online_backup.html">back it up</a>. &#8211;Denise Paolucci, Dreamwidth Studios via <a href="http://www.helpareporter.com/">Help A Reporter Out</a> (HARO)</p>
<p align="justify"><strong>Law 4:</strong> Your data will get corrupted <em>just </em>before you plug in your new backup external drive. &#8211;Darren Gladstone, PC World</p>
<p align="justify"><strong>Law 5:</strong> Your backup plan is only as good as your last successful restore. &#8211;Michael Fisher, ElephantDrive.com via HARO</p>
<p align="justify"><strong>Law 6:</strong> The number of USB ports on your Mac will always be one less than you need at any given time. &#8211;Blair Hanley Frank, Macworld</p>
<p align="justify"><strong>Law 7</strong>: Feeling time pressure to make a computer fix quickly will cause you to take longer. &#8211;David Marshak, via <a href="http://www.facebook.com/pages/PC-World/7352931005">PC World Facebook page</a></p>
<p align="justify"><strong>Law 8:</strong> If you close the PC case with screws before testing, it won&#8217;t work; If you test before closing, it will. &#8211;Harry Liebman via HARO</p>
<h4 align="justify">Tech Support Rules</h4>
<p align="justify">Now that you&#8217;ve mastered the basics, you&#8217;re ready to move on to Tech Support.</p>
<p align="justify"><strong>Law 1:</strong> Fix a computer for a friend or family member, and you&#8217;ll be tech support for life. &#8211;Danny Allen, PC World</p>
<p align="justify"><strong>Law 2:</strong> <a href="http://www.pcworld.com/article/163052/how_to_build_a_pc_the_interactive_geek_tech_video.html">Build a computer</a> for someone, and he/she owns you! &#8211;Louis Farbstein, via PC World&#8217;s Facebook page</p>
<p align="justify"><strong>Law 3:</strong> Recommend a product that you&#8217;ve used with no problems, and the friend/family member who buys it will immediately descend into RMA [product return] hell. &#8211;Scott Keck, via PC World&#8217;s Facebook page</p>
<p align="justify"><strong>Law 4:</strong> Show any handy IT skills at work, and your company&#8217;s IT department will start referring difficult coworkers to you. &#8211;Lars Jacobsen, via PC World&#8217;s Facebook page</p>
<p align="justify"><strong>Law 5:</strong> If it&#8217;s broken and you call tech support, it will fix itself while you&#8217;re on hold. &#8211;Brenda Christensen, Public Relations, Servoy.com via HARO</p>
<h4 align="justify">Internet Ordinances</h4>
<p align="justify">You can find a world of trouble online. For instance&#8230;</p>
<p align="justify"><strong>Law 1</strong>: Within a month of agreeing to be &quot;friends&quot; with your boss <a href="http://www.pcworld.com/article/162166/facebook_pages_wed_like_to_see.html">on Facebook</a> you will regret it, big time. &#8211;Tom Spring, PC World</p>
<p align="justify"><strong>Law 2:</strong> The crappier the Web site, the sleazier (and sketchier) the ads. &#8211;Tom Spring, PC World</p>
<p><strong><img alt="Captcha drives us nuts!" src="http://images.pcworld.com/news/graphics/169388-captcha_original.jpg" /></strong></p>
<p align="justify"><strong>Law 3:</strong> When entering <a href="http://en.wikipedia.org/wiki/CAPTCHA">&quot;Captcha&quot; verification codes</a> on a Web site, you&#8217;ll always type in the numeral 1 when the site wants a lowercase L, and a capital O when the site wants the number 0. &#8211;Steve Fox, PC World</p>
<p align="justify"><strong>Law 4:</strong> Just before taking out the boss in a <a href="http://www.pcworld.com/article/158850/the_ten_greatest_pc_games_ever.html">WoW raid</a>, your Internet connection will die. &#8211;Nick Mediati, PC World</p>
<p align="justify"><strong>Law 5:</strong> The difficulty involved in <a href="http://www.pcworld.com/article/114150/rebate_roulette.html">redeeming a rebate</a> is directly proportional to the dollar value of the rebate. &#8211;Tom Spring, PC World</p>
<p align="justify"><strong>Law 6</strong>: A <a href="http://twitter.com/bxchen/status/2540463662">nasty draft e-mail</a> will always find its way to the (unintended) recipient. &#8211;Brian X. Chen</p>
<h4 align="justify">Precepts of Mobile Tech</h4>
<p align="justify">Desktop technology isn&#8217;t the only source of inevitable woe in your life. All those <a href="http://www.pcworld.com/article/165174/travel_smart.html">shiny mobile devices</a> can cause pain, too, since the freedom of untethered technology doesn&#8217;t extend to immunity from rank on rank of frustrating unalterable laws. We report 10 master Mobile Laws here.</p>
<p><strong><img style="display: inline; margin-left: 0px; margin-right: 0px" alt="" src="http://images.pcworld.com/news/graphics/169388-mobilewireless_original.jpg" align="left" />Law 1:</strong> The <a href="http://www.pcworld.com/article/159730/why_the_universal_charger_wont_work.html">charger</a> for your current cell phone will not work with the next cell phone you buy. &#8211;Kimberly Brinson, PC World</p>
<p align="justify"><strong>Law 2:</strong> Your laptop&#8217;s charger weighs half of what your laptop weighs. &#8211;Darren Gladstone, PC World</p>
<p><img style="display: inline; margin-left: 0px; margin-right: 0px" alt="Battery life ebbing." src="http://images.pcworld.com/news/graphics/159874-ipod_touch_180.jpg" align="right" /></p>
<p align="justify"><strong>Law 3:</strong> A laptop battery will drain at twice its normal rate whenever you leave home without your power cord. &#8211;Kimberly Brinson, PC World</p>
<p align="justify"><em><strong>Corollary:</strong> </em>Your <a href="http://www.pcworld.com/article/166953/laptops_with_epic_battery_life_keep_you_working.html">laptop&#8217;s battery life</a> is inversely proportional to the amount of work you need to get done on a single charge. &#8211;Blair Hanley Frank, Macworld</p>
<p align="justify"><strong>Law 4:</strong> Your <a href="http://www.pcworld.com/article/169219/top_10_iphone_annoyances_and_how_to_fix_them.html">iPod or iPhone</a> will be on its last burst of power just as the plane door shuts. &#8211;Anne B. McDonald, PC World</p>
<p align="justify"><strong>Law 5:</strong> A replacement battery charger will cost 70 percent of the original purchase price of the device. For phones, the figure is 140 percent! &#8211;Robert Strohmeyer, PC World</p>
<p align="justify"><strong>Law 6:</strong> Your cell phone will inevitably break before your two-year contract is up, forcing you to overpay for a new, less-cool model. &#8211;Lauren Barnard, PC World</p>
<p align="justify"><strong>Law 7:</strong> The proprietary charging plug (cost to produce: 50 cents) for your device will disappear within two weeks and will cost you $40 to replace. &#8211;Darren Gladstone, PC World</p>
<p align="justify"><strong>Law 8</strong>: On any vacation, the memory card for your digital camera will be safely lodged in the card reader on your desk at home. (And the camera&#8217;s proprietary battery will be dead, with the charger sitting next to the card reader.) &#8211;Anne B. McDonald, PC World</p>
<p><strong><img style="display: inline; margin-left: 0px; margin-right: 0px" alt="Soft drinks are also bad for PCs." src="http://images.pcworld.com/news/graphics/137100-coffeeb4nfter.jpg" align="left" /></strong>
<p align="justify">Law 9:</p>
<p>  A cup of coffee on your desk is guaranteed to <a href="http://www.pcworld.com/article/157985/disaster_how_to_salvage_a_wet_gadget.html">render your laptop utterly useless</a>. &#8211;Nick Mediati, PC World </p>
<p align="justify"><strong></strong></p>
<p align="justify"><strong></strong></p>
<p align="justify"><strong></strong></p>
<p align="justify"><strong></strong></p>
<p align="justify"><strong>Law 10:</strong> Your <a href="http://www.pcworld.com/article/144834/mobile_mac_magsafe_modifier_and_a_travel_stand.html">MagSafe adapter</a> will always come unplugged precisely when you need to charge your Mac laptop&#8217;s battery. –Nick</p>
<h4 align="justify">Software Statutes</h4>
<p align="justify">Finally, if entanglements with hardware principles don&#8217;t leave you bound and gagged, there are always <a href="http://www.pcworld.com/article/166778/bizarre_bugs_nine_of_the_strangest_software_glitches_ever.html">software standards to render you helpless</a>.</p>
<p align="justify"><strong>Law 1:</strong> Your software provider&#8217;s online support pages contain explicit instructions for troubleshooting every conceivable problem&#8211;except yours. &#8211;Mark Sullivan, PC World</p>
<p align="justify"><strong>Law 2:</strong> Nine times out of ten, tinkering with your Registry to fix a system issue will create a new problem that&#8217;s more severe than the original. &#8211;Travis Van, ITDatabase via HARO</p>
<p align="justify"><strong>Law 3:</strong> Ten times out of ten, downloading a spyware product will create hidden processes/services more insidious than the original malware/adware encroachment you set out to stop. &#8211;Travis Van, ITDatabase via HARO</p>
<p align="justify"><strong><img style="display: inline; margin-left: 0px; margin-right: 0px" alt="Do Not Enter!" src="http://images.pcworld.com/home/graphics/hp_031803_registry.jpg" align="right" /></strong>
<p align="justify">Law 4:</p>
<p>  The performance increase you can expect from <a href="http://www.pcworld.com/article/149951/how_to_clean_your_windows_registry_and_speed_up_your_pc.html">running a Registry cleaner</a> can be calculated as <em>z</em>(<em>n</em> + <em>y</em>), where <em>n</em> is the number of Registry entries cleaned, <em>y</em> is your system CPU&#8217;s clock speed in gigahertz, and <em>z</em> = 0. &#8211;Robert Strohmeyer, PC World </p>
<p align="justify"><strong>Law 5:</strong> The larger the number of people who want your <a href="http://www.pcworld.com/article/148388/17_free_iphone_apps_you_need_right_now.html">iPhone app</a>, the likelier Apple is to reject it. &#8211;Nick Mediati, PC World</p>
<p align="justify"><strong>Law 6:</strong> iTunes will crash. That&#8217;s it. No, really. &#8211;Darren Gladstone, PC World</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/08/06/basic-laws-of-technology/" target="_blank"><img src="http://tayyab.xenoglaux-solutions.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/08/06/basic-laws-of-technology/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://tayyab.xenoglaux-solutions.com/2009/08/06/basic-laws-of-technology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tool Bag Lost In Space Meets Fiery End</title>
		<link>http://tayyab.xenoglaux-solutions.com/2009/08/06/tool-bag-lost-in-space-meets-fiery-end/</link>
		<comments>http://tayyab.xenoglaux-solutions.com/2009/08/06/tool-bag-lost-in-space-meets-fiery-end/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 13:43:47 +0000</pubDate>
		<dc:creator>tayyabtariq</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[NASA]]></category>
		<category><![CDATA[space debry]]></category>
		<category><![CDATA[Tool bag in space]]></category>

		<guid isPermaLink="false">http://tayyab.xenoglaux-solutions.com/2009/08/06/tool-bag-lost-in-space-meets-fiery-end/</guid>
		<description><![CDATA[Tool Bag Lost In Space Meets Fiery End     By Tariq Malik     Managing Editor     posted: 03 August 2009     05:05 pm ET

&#160;
A tool bag lost by a spacewalking astronaut last year met its fiery demise in Earth&#8217;s atmosphere Monday after months [...]]]></description>
			<content:encoded><![CDATA[<p align="justify"><b><img style="display: inline; margin-left: 0px; margin-right: 0px" src="http://a52.g.akamaitech.net/f/52/827/1d/www.space.com/images/081118-sts126-eva1-toolbag-01.jpg" align="left" border="0" />Tool Bag Lost In Space Meets Fiery End </b>    <br /><b>By <a href="http://www.space.com/php/contactus/feedback.php?r=tm">Tariq Malik</a></b>     <br />Managing Editor     <br />posted: 03 August 2009     <br />05:05 pm ET</p>
<p align="justify"><a name="beginstory"></a></p>
<p align="justify">&#160;</p>
<p align="justify">A tool bag lost by a spacewalking astronaut last year met its fiery demise in Earth&#8217;s atmosphere Monday after months circling ever closer to the planet. </p>
<p> <span id="more-126"></span>
<p align="justify"></p>
<p align="justify">The <a href="http://www.space.com/php/multimedia/imagedisplay/img_display.php?pic=081118-sts126-eva1-toolbag-02.jpg&amp;cap=An+equipment+bag+drifts+away+from+spacewalker+Heide+Stefanyshyn-Piper+as+she+works+on+a+solar+array+gear+during+a+Nov.18%2C+2008+spacewalk+outside+the+International+Space+Station.+Credit%3A+NASA+TV.">$100,000 tool bag</a> plunged toward Earth and burned up as it re-entered the atmosphere, according to the U.S. Air Force&#8217;s Joint Space Operations Center tracking it and more than 19,000 other pieces of space junk in orbit today from Vandenberg Air Force Base in California.</p>
<p align="justify">&quot;Based on its size and composition, we expect the object to <a href="http://www.space.com/common/media/video/player.php?videoRef=SP_080930_atv_reentry&amp;mode=">completely burn up</a> before hitting the Earth,&quot; center officials said in a statement.</p>
<p align="justify">The tool bag was lost during a Nov. 18 spacewalk at the International Space Station. In addition to the Joint Operations Space Center, <a href="http://www.space.com/news/081125-iss-tool-bag.html">amateur skywatchers</a> also tracked the bag as it silently circled the Earth.</p>
<p align="justify">Center officials did not immediately have a specific time and location for the tool bag&#8217;s ultimate demise, but a Sunday report by the Web site <i>Universe Today</i> predicted the wayward space satchel would hit the Earth&#8217;s atmosphere at about 9:16 a.m. EDT (1316 GMT) over the Pacific Ocean, just west of Mexico.</p>
<p align="justify"><b>Lost in space</b></p>
<p align="justify">The tool bag weighed about 30 pounds (14 kg) and was about the size of a small backpack. It contained grease guns, trash bags and a scraper tool. </p>
<p align="justify">Former NASA astronaut Heidemarie Stefanyshyn-Piper <a href="http://www.space.com/missionlaunches/081119-sts126-spacewalker-lost-bag.html">lost the bag</a> during a November spacewalk to repair a balky solar array joint on the International Space Station as part of NASA&#8217;s STS-126 shuttle mission. A grease gun leaked inside the bag, which apparently wasn&#8217;t secured properly, and it drifted free while Stefanyshyn-Piper was trying to clean up the mess. </p>
<p align="justify">&quot;There was that split second thinking that, maybe I can go jump for it and grab it. Then I realized that it would just make everything worse and then we&#8217;d have two floating objects, one of which would be me,&quot; Stefanyshyn-Piper said in a televised Nov. 19 interview from space the day after losing the bag. &quot;So the best thing to do was just to let it go.&quot;</p>
<p align="justify">Stefanyshyn-Piper, an active captain in the U.S. Navy, retired from NASA&#8217;s astronaut corps last month to return to her Navy duties. </p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/08/06/tool-bag-lost-in-space-meets-fiery-end/" target="_blank"><img src="http://tayyab.xenoglaux-solutions.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/08/06/tool-bag-lost-in-space-meets-fiery-end/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://tayyab.xenoglaux-solutions.com/2009/08/06/tool-bag-lost-in-space-meets-fiery-end/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google aims offensive at Microsoft Office</title>
		<link>http://tayyab.xenoglaux-solutions.com/2009/08/06/google-aims-offensive-at-microsoft-office/</link>
		<comments>http://tayyab.xenoglaux-solutions.com/2009/08/06/google-aims-offensive-at-microsoft-office/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 13:41:17 +0000</pubDate>
		<dc:creator>tayyabtariq</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Ad Campaign]]></category>
		<category><![CDATA[Google Offensive]]></category>
		<category><![CDATA[Microsoft Office]]></category>
		<category><![CDATA[Microsoft vs Google]]></category>

		<guid isPermaLink="false">http://tayyab.xenoglaux-solutions.com/2009/08/06/google-aims-offensive-at-microsoft-office/</guid>
		<description><![CDATA[Original Article by Sharon Gaudian posted on Computerworld.
In ongoing war between the two rivals, Google takes to the streets 
 

In the latest shot fired in Google Inc.&#8217;s ongoing battle with Microsoft Corp., Google announced today that it&#8217;s taking this fight to the streets.
Literally.
Google is kicking off a month-long ad campaign for its online suite [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">Original Article by Sharon Gaudian posted on <a href="http://www.computerworld.com">Computerworld</a>.</p>
<p align="justify">In ongoing war between the two rivals, Google takes to the streets </p>
<p> <span id="more-124"></span>
<p align="justify"></p>
<p align="justify">In the latest shot fired in Google Inc.&#8217;s ongoing battle with Microsoft Corp., Google announced today that it&#8217;s taking this fight to the streets.</p>
<p align="justify">Literally.</p>
<p align="justify">Google is kicking off a month-long ad campaign for its online suite of enterprise office applications. The campaign will have the search giant leasing billboard space in four major U.S. cities &#8212; New York, San Francisco, Chicago and Boston. Each work day will have a different message for commuters to take in. </p>
<p align="justify">The move comes less than a week after <a href="http://www.computerworld.com/s/article/9136011/Microsoft_Yahoo_alliance_would_target_Google">Microsoft announced it is partnering with Yahoo</a> on a search and online ad deal. The two companies announced that they had finalized negotiations on a <a href="http://www.computerworld.com/s/article/9131441/After_a_year_of_bad_blood_Microsoft_Yahoo_talking_again">long-anticipated deal</a> that will have <a href="http://www.computerworld.com/s/article/339824/The_Search_War_Is_On_Microsoft_Unveils_Bing">Microsoft&#8217;s Bing search engine</a> powering Yahoo&#8217;s sites, while Yahoo sells premium search advertising services for both companies.</p>
<p align="justify">The deal is geared to hit Google with a united force much greater than either Microsoft or Yahoo could muster alone. Individually, neither company has much of an <a href="http://www.computerworld.com/s/article/9136055/Analysts_Microsoft_Yahoo_deal_won_t_put_Google_on_red_alert">effect on Google</a> and its overwhelming search market share. Together, though, they hope to at least make a dent.</p>
<p align="justify">Ezra Gottheil, an analyst at Technology Business Research Inc., noted that while Microsoft is busy going after Google&#8217;s search market, Google is using the billboard campaign it go after Microsoft&#8217;s bread-and-butter Office suite. </p>
<p align="justify">&quot;Each company is targeting the other right now,&quot; said Gottheil. &quot;They&#8217;re laying the groundwork for what they both see as an inevitable collision in the future. Right now, neither company is deriving much revenue from its presence in the other&#8217;s space&#8230; Microsoft is more vulnerable because they must cannibalize some of their current application revenue to expand their application market, where Google only has to maintain a rough technical equivalence with Microsoft to maintain its search franchise.&quot;</p>
<p align="justify">Google&#8217;s ad campaign and Microsoft&#8217;s deal with Yahoo are just the latest moves in this ongoing fight between industry giants.</p>
<p align="justify">In June, Microsoft unveiled its new search engine, Bing, an update to its far-from-beloved Microsoft Live Search. And with Microsoft&#8217;s advertising power and a lot of media attention behind it, Bing has shown strong numbers just out of the gate. But with only 8.23% of the market, Bing has done little more than <a href="http://www.computerworld.com/s/article/9135079/Microsoft_s_Bing_takes_a_nibble_out_of_Google_s_search_share">nibble away at Google share</a>, which is just over more than 78% of the search market. </p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/08/06/google-aims-offensive-at-microsoft-office/" target="_blank"><img src="http://tayyab.xenoglaux-solutions.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/08/06/google-aims-offensive-at-microsoft-office/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://tayyab.xenoglaux-solutions.com/2009/08/06/google-aims-offensive-at-microsoft-office/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Marriage of convenience</title>
		<link>http://tayyab.xenoglaux-solutions.com/2009/08/06/marriage-of-convenience/</link>
		<comments>http://tayyab.xenoglaux-solutions.com/2009/08/06/marriage-of-convenience/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 13:38:43 +0000</pubDate>
		<dc:creator>tayyabtariq</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[Bing Matket Share]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Goolge Market share]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://tayyab.xenoglaux-solutions.com/2009/08/06/marriage-of-convenience/</guid>
		<description><![CDATA[Source: eWeek.com
Microsoft&#8217;s Bing gained a single point of market share in July, bringing its total to 9.41 percent, according to a new report by StatCounter. The recent partnership deal between Microsoft and Yahoo has given both companies hope that they can challenge Google, which currently holds a double-digit lead in the search market. Under the [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">Source: <a href="http://www.eweek.com/index2.php?option=content&amp;task=view&amp;id=55253&amp;pop=1&amp;hide_ads=1&amp;page=0&amp;hide_js=1" target="_blank">eWeek.com</a></p>
<p align="justify">Microsoft&#8217;s Bing gained a single point of market share in July, bringing its total to 9.41 percent, according to a new report by StatCounter. The recent partnership deal between Microsoft and Yahoo has given both companies hope that they can challenge Google, which currently holds a double-digit lead in the search market. Under the terms of the partnership, Bing will power search on Yahoo sites, while Yahoo takes over worldwide sales duties for the companies’ search advertisers. </p>
<p align="justify"><a href="http://www.webbuyersguide.com/company/66/Microsoft&amp;kc=eweekarticle080309&amp;src=eweekarticle080309">Microsoft</a>’s share of the U.S. search market increased to 9.41 percent in July 2009, a rise of 1 percentage point, according to research firm StatCounter. At the same time, Google’s share of the U.S. market slipped during the same period to 77.54 percent, down by nearly a point, while Yahoo declined a fraction of a point, from 11.04 to 10.95. </p>
<p align="justify">StatCounter&#8217;s report came days after <a href="http://www.eweek.com/c/a/Windows/Microsoft-Yahoo-Deal-Not-Better-Than-the-Last-Deal-Says-Ballmer-242792/">the July 29 announcement of a partnership deal</a> between Microsoft and <a href="http://www.webbuyersguide.com/company/253/Yahoo%21&amp;kc=eweekarticle080309&amp;src=eweekarticle080309">Yahoo</a>: that 10-year agreement that will see Microsoft&#8217;s Bing power Yahoo’s search engine, while Yahoo assumes exclusive worldwide sales duties for the companies’ search advertisers. Microsoft will pay traffic acquisition costs (TACs) to Yahoo at an initial rate of 88 percent of search revenue generated on Yahoo’s sites. </p>
<p align="justify">The deal represents a recognition on both companies&#8217; part that the only way to break Google’s lock on the search and online advertising market may be through working together. According to StatCounter’s report, a combined Microsoft and Yahoo search would have a 20.36 percent market share.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/08/06/marriage-of-convenience/" target="_blank"><img src="http://tayyab.xenoglaux-solutions.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/08/06/marriage-of-convenience/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://tayyab.xenoglaux-solutions.com/2009/08/06/marriage-of-convenience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Image Search: New Options</title>
		<link>http://tayyab.xenoglaux-solutions.com/2009/07/26/google-image-search-new-options/</link>
		<comments>http://tayyab.xenoglaux-solutions.com/2009/07/26/google-image-search-new-options/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 19:06:48 +0000</pubDate>
		<dc:creator>tayyabtariq</dc:creator>
				<category><![CDATA[Digital Image Processing]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Image Search]]></category>
		<category><![CDATA[Image Processing]]></category>

		<guid isPermaLink="false">http://tayyab.xenoglaux-solutions.com/2009/07/26/google-image-search-new-options/</guid>
		<description><![CDATA[Recently I noticed some new features on Google Image Search. The image search that was awesome already has added some two great new options. Whenever you search for an image, you can select a type and color. 
You can select from a number of types; News, Face, Clip art, Line drawings and Photo. The filtered [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I noticed some new features on Google Image Search. The image search that was awesome already has added some two great new options. Whenever you search for an image, you can select a type and color. </p>
<p>You can select from a number of types; News, Face, Clip art, Line drawings and Photo. The filtered results are extremely quick and accurate. Moreover, you can also choose a color and Google would give you the images where the selected image is dominant. </p>
<p>Being interested in Image processing myself I know that the second is pretty easy but, categorizing the images between News, Face, Clip art, Line drawings and Photo is pretty darn difficult. </p>
<p>I am a little awe struck and I little worried about my FYP now <img src='http://tayyab.xenoglaux-solutions.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/07/26/google-image-search-new-options/" target="_blank"><img src="http://tayyab.xenoglaux-solutions.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/07/26/google-image-search-new-options/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://tayyab.xenoglaux-solutions.com/2009/07/26/google-image-search-new-options/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>اب آپ کے پاس اردو میں نہ لکھنے کا کوئی بہانہ نہیں</title>
		<link>http://tayyab.xenoglaux-solutions.com/2009/06/27/%d8%a7%d8%a8-%d8%a2%d9%be-%da%a9%db%92-%d9%be%d8%a7%d8%b3-%d8%a7%d8%b1%d8%af%d9%88-%d9%85%db%8c%da%ba-%d9%86%db%81-%d9%84%da%a9%da%be%d9%86%db%92-%da%a9%d8%a7-%da%a9%d9%88%d8%a6%db%8c-%d8%a8%db%81/</link>
		<comments>http://tayyab.xenoglaux-solutions.com/2009/06/27/%d8%a7%d8%a8-%d8%a2%d9%be-%da%a9%db%92-%d9%be%d8%a7%d8%b3-%d8%a7%d8%b1%d8%af%d9%88-%d9%85%db%8c%da%ba-%d9%86%db%81-%d9%84%da%a9%da%be%d9%86%db%92-%da%a9%d8%a7-%da%a9%d9%88%d8%a6%db%8c-%d8%a8%db%81/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 18:24:22 +0000</pubDate>
		<dc:creator>tayyabtariq</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Indic]]></category>
		<category><![CDATA[Urdu Writing]]></category>

		<guid isPermaLink="false">http://tayyab.xenoglaux-solutions.com/2009/06/27/%d8%a7%d8%a8-%d8%a2%d9%be-%da%a9%db%92-%d9%be%d8%a7%d8%b3-%d8%a7%d8%b1%d8%af%d9%88-%d9%85%db%8c%da%ba-%d9%86%db%81-%d9%84%da%a9%da%be%d9%86%db%92-%da%a9%d8%a7-%da%a9%d9%88%d8%a6%db%8c-%d8%a8%db%81/</guid>
		<description><![CDATA[&#160;
اب آپ کے پاس اردو میں نہ لکھنے کا کوئی بہانہ نہیں    http://www.google.com/transliterate/indic/Urdu     Tyep: aaj ki taza khabar     and see the transliteration&#160; آج کی تازہ خبر     I&#8217;ll encourage everyone to start using this and similar services     [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>اب آپ کے پاس اردو میں نہ لکھنے کا کوئی بہانہ نہیں    <br /><a href="http://www.google.com/transliterate/indic/Urdu">http://www.google.com/transliterate/indic/Urdu</a>     <br />Tyep: aaj ki taza khabar     <br />and see the transliteration&#160; آج کی تازہ خبر     <br />I&#8217;ll encourage everyone to start using this and similar services     <br />widely and also spread the word.     <br />The more text there is available in Urdu, the better are chances that     <br />we can preserve our language; this will help us export our culture to     <br />the outside world and also import the knowledge in all the various     <br />languages to the speakers of Urdu language.     <br />Hopefully this will be integrated with gmail, docs etc, soon.     <br />Please spread the word..</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/06/27/%d8%a7%d8%a8-%d8%a2%d9%be-%da%a9%db%92-%d9%be%d8%a7%d8%b3-%d8%a7%d8%b1%d8%af%d9%88-%d9%85%db%8c%da%ba-%d9%86%db%81-%d9%84%da%a9%da%be%d9%86%db%92-%da%a9%d8%a7-%da%a9%d9%88%d8%a6%db%8c-%d8%a8%db%81/" target="_blank"><img src="http://tayyab.xenoglaux-solutions.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://tayyab.xenoglaux-solutions.com/2009/06/27/%d8%a7%d8%a8-%d8%a2%d9%be-%da%a9%db%92-%d9%be%d8%a7%d8%b3-%d8%a7%d8%b1%d8%af%d9%88-%d9%85%db%8c%da%ba-%d9%86%db%81-%d9%84%da%a9%da%be%d9%86%db%92-%da%a9%d8%a7-%da%a9%d9%88%d8%a6%db%8c-%d8%a8%db%81/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://tayyab.xenoglaux-solutions.com/2009/06/27/%d8%a7%d8%a8-%d8%a2%d9%be-%da%a9%db%92-%d9%be%d8%a7%d8%b3-%d8%a7%d8%b1%d8%af%d9%88-%d9%85%db%8c%da%ba-%d9%86%db%81-%d9%84%da%a9%da%be%d9%86%db%92-%da%a9%d8%a7-%da%a9%d9%88%d8%a6%db%8c-%d8%a8%db%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

