Wednesday, April 27, 2011

WPF Stylist message Box

in our WPF application if we want to make our messagebox more stylist like:

   
we can easily do it in our application. For this we need to add a dll name WPF Extended toolkit to download from :

  http://wpftoolkit.codeplex.com/

To represent the messagebox we can use:

MessageBoxResult result = Microsoft.Windows.Controls.MessageBox.Show("You are welcome", "Extended WPF ToolKit MessageBox", MessageBoxButton.OKCancel, MessageBoxImage.Information);


Enjoy....

C# print file on LAN Printer

If you want to print any file on network printer then you can try with this code block // Change Default Printer System.Ma...