Sunday, January 29, 2012

WPF Tab Control Navigation

 Most of time in Tab Control we want navigate one tab to another tab without clicking the tab header.

Go to next tab.

Back to the previous tab.

it's easy, in your event just use tabname.selected= true.

 private void empInformationBackButton_Click(object sender, RoutedEventArgs e)  
       tabItemPersonalInfo.IsSelected = true;  

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...