WPF Application Icon when StartURL is a Page

Create an LoadCompleted event on the application (App.xaml).LoadCompleted=”Application_LoadCompleted”private void Application_LoadCompleted(object sender, System.Windows.Navigation.NavigationEventArgs e){System.Drawing.Bitmap bmp =...

Bailout

The bailout is intended to rescue bankers from the bad loans that threaten to derail the economy and plunge the country into a long depression. What about people like me who have paid their loans on time every time. I haven’t taken out a loan that I could not...

Define Success

So a friend of mine gave me a book for my birthday. It is called “The Secret”. She has told me many times that I am already living my dream. After I have made some lucrative business deals, purchased a big house, purchased beautiful furniture and made sure...

WPF Zip Code ValidationRule

I am working on validation for a WPF application and here is my class to validate American Zip Codes. class ZipCodeRule : ValidationRule { public override ValidationResult Validate(object value, CultureInfo cultureInfo) { ErrorMessage errMessage = new ErrorMessage();...

CSS Stylesheet Frameworks

Based in part by Paul Spencer.As Web Developors we are usually in the business of designing web pages that contains all kinds of content. While limiting myself to plain HTML tags and avoiding any kind of color/style decisions is usually a wise idea, sometimes its nice...