Entries from February 2008
February 20, 2008
Here is a quick tip. If you have the following Enum
Enum Frequencies
DAILY
WEEKLY
MONTHLY
End Enum
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { […]
Posted in .net, Programming, Tips & Tricks
No Comments »
February 19, 2008
I was writing a small utility for Outlook 2007 and was using LINQ to query Outlook Tasks. This query was nested within another query. While debugging, I realized that looping though the query results in my For Each loop was taking too long.
If you have read anything about LINQ, I am sure you already know […]
Posted in .net, LINQ, Office, Performance, Tips & Tricks, vb.net
2 Comments »
February 14, 2008
Let’s say you are trying to animate a “zoom-in” e.g. zoom to a part of an image. Once the user is done zooming in, he will probably want to zoom back out, you want to animate the zoom-out but in reverse. It turns out to be very easy to do with Expression Blend.
Step 1
Add an […]
Posted in Animation, Expression Blend, Silverlight
No Comments »
February 6, 2008
I wanted to reuse the same animation for multiple objects, which should have been a simple task. Unfortunately, it took me a while to figure it out.
In theory, all I should need to do is set the Storyboard.TargetName property to a different object and I am done. I tried all kind of combinations and […]
Posted in Silverlight
No Comments »