Wednesday, July 13, 2011


If it is to me, I would define the way of the CORPORATE organizations in the following pattern:


Customer:  Could you please ignore the late payment fine of Rs.600 on my Card for paying late by 6hrs please

Employee:  Sir, I am eager to help you sir, but…..

Customer:  Please understand

Employee: Yes Sir, even I will help, but the problem is that the computer does not accept it, I am limited by computer softwareSad smile.


The situation in corporates is almost like the above, the employees are only there to translate the computer to the customer, that too because not all customers are educated.   If customers are educated, the corporates would definitely remove there employees in front end and only let the computers handle the work. Smile with tongue out

Monday, July 4, 2011

I thought I can’t See

I never expected to use my PC Process usage beyond 50% anytime after I bought my AMD PHENOM 2 X4 945 3.GhZ,   I think I was wrong.

PC toll

I used adobe premier today for making a watermark on friends video, and suddenly to my excitement, I found that CPU process is consumed a lot, I played games of various kinds and graphics from Old Classics to the new Modern Warfare, but never saw PC CPU toll, it is truly remarkable that video encoding uses more CPU even though I have ATI RADEON HD 4670 1Gb cards from XFX.

Sunday, July 3, 2011

Data Template VS Item Template

For any control we use in WPF there would be two templates that present the data to the user.  One template would be DATA TEMPLATE and the other would be ITEM TEMPLATE.

The main difference between Data template and Item Template is that data template uses the default animation and other settings given by MS for displaying the content, whereas Item Template lets us edit the entire item including the required animations etc.  in simple terms, the scope and flexibility of ITEM TEMPLATE is greater than that of DATA TEMPLATE.

Also, in binding, if we use only data template and not item template the we use code something like this:

ComboBox1.DataContext = CoursesLIST

and if we use item template then source would be defined as:

ComboBox1.ItemsSource = CoursesList

There is a difference in XAML code also, following code is for Data Template XAML Code:

<ComboBox Height="23" Name="CourseslistComboBox1" Width="120">
            <Label Content="{Binding CourseName}"/>

Whereas, following is the code for the ITEM TEMPLATE:

<ComboBox Height="23" Name="CourseslistComboBox1" Width="120">
            <Label Content="{Binding CourseName}"/>

From the above we can clearly say that Item Template provides more scope of customization when compared to Data Template.