hi
i am new in wpf , since we dont have any mdicontainer in wpf so i put content presenter in my main form and add required forms in content presenter object as written below
private void MenuItem_Click(object sender, RoutedEventArgs e)
{
login_wpf ob = new login_wpf();
this.childcontrols.Content = ob.Content; // childocntrols is the name of ContentPresenter
}
this working very fine without any error , i want to ask , is that correct approach to show window objects within window?
if no than what to use?
Thanks
Ali Muhammad