I know roughly difference between an usercontrol and a window on wpf. It is suggested that use Usercontrol if you need to reuse it. It makes sense but here is what I am doing and where i am confused.
I have a mainwindow and a menu click opens another window/usercontrol inside that mainwindow but this control has only 2 usercontrols basically which one will be better parent to child.
a) Mainwindow --> child Window--> 2 child usercontrols
b) Mainwindow--->child usercontrol--> 2 child usercontrols
the one is child of mainwindow at the 2nd level, I will only use it also once.
thanks.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."