private void Button3Click(object sender, RoutedEventArgs e)
 {
     var wih = new WarehouseInHome();
     RedirectTo(wih);
 }
 private void Button1Click(object sender, RoutedEventArgs e)
 {
     try
     {
         VM.Save();
         MessageBox.Show(Properties.Resources.SaveSuccessfully);
         var wih = new WarehouseInHome();
         RedirectTo(wih);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ErrorMsgManager.GetClientErrMsg(ex, CultureManager.UICulture));
     }
 }