What happens when you reuse an Usercontrol ? (Newbie question)
Hi , I just started to learn coding WPF with a onepage (main function) background , and i'm little bit confused . Let's say i work on a Mvvm pattern i defined an usercontrol1MV an usercontrol1View ect. and Now in another page i put 2 of usercontrol1s and run it .
<local:UserControl1 x:Name="Cont1 <local:UserControl1 x:Name="Cont2
Does the compiler instace 2 classes usercontrol1 and called them Cont1 and Cont2 or what excatly (at the level memory/debuging ) ?
I know i'm little bit unclear but as i said i'm my self confused after the switch from basic coding with one main fucntion to WPFs and Winforms
0 comments:
Post a Comment