canton7 / Stylet

A very lightweight but powerful ViewModel-First MVVM framework for WPF for .NET Framework and .NET Core, inspired by Caliburn.Micro.
MIT License
981 stars 143 forks source link

Re# 182 #183

Closed chasihle closed 3 years ago

chasihle commented 3 years ago

I misspoke, the initiating form is a user control not a window

canton7 commented 3 years ago

You can edit your post in the previous issue, or add new comments

chasihle commented 3 years ago

So I have a Window Form I named CustomerConsole has a ContentControl, In customerconsole I select a customer and a usercontrol is opened in the window's contentcontrol, In this case the usercontrol is name CustomerPrograms.. This first usercontrol, CustomerPrograms also has a contentcontrol into which I open a form for CRUD operations depending on the operation. The first user control has a datagrid that i want to refresh when I return from the CRUD operation. The second user control is named CreateCustomerProgram. I put a break point at LoadComboBoxes() in CustomerPrams which is the first line following this.ActivateItem(SubCurrentPage); but I never hit the break point.

I'm wondering if it's because I have a form displaying in a contentcontrol which is also in a content control. so it's like a child contentcontrol

canton7 commented 3 years ago

I have closed this issue, as it should have been an edit of your previous issue. Please add any further details to your previous issue