public void ShouldShowCustomBasketView()
 {            
     var cbVM = new CustomBasketViewModel();
     var cbView = new CustomBasketView { ViewModel = cbVM  };
     var cbEditVM = new CustomBasketEditViewModel { CustomBasketVM = cbVM};
     var cbEditView = new CustomBasketEditView { ViewModel = cbEditVM };
     var cbform = cbEditView.DisplayInShowForm("Custom Basket");
     Application.Run(cbform);
 }
 private void ButtonEditOnClick(object sender, EventArgs eventArgs)
 {
     try
     {
         var cbEditVM = new CustomBasketEditViewModel { CustomBasketVM = ViewModel };
         var cbEditView = new CustomBasketEditView { ViewModel = cbEditVM };
         if (ViewModel.BasketUserList.Select(b => b.BasketName).Contains(CurrentBasket))
             ViewModel.ReadSetting(CurrentBasket, CurrentUser);                
         ShowForm.Show(cbEditView, FormBorderStyle.FixedSingle, null, "Custom Basket Editor");
         cbEditView.CurrentChosenBasket = CurrentBasket;
     }
     catch (Exception e)
     {
         displayMessage("Basket Editor Error", e.Message, MessageBoxIcon.Error);
     }
     
 }