private void MenuItem_Click_Preferences(object sender, RoutedEventArgs e)
 {
     frmPageSettings frm = new frmPageSettings();
     if (frm.ShowDialog() == true)
     {
         //TODO..
     }
     else
     {
         //TODO..
     }
 }
 private void MenuItem_Click_Options(object sender, RoutedEventArgs e)
 {
     frmPageSettings settings = new frmPageSettings();
     if (settings.ShowDialog() == true)
     {
         MessageBox.Show("You have set the page settings!");
     }
 }