1

I want to open another user control in a user control but if gives me this error: "System.InvalidOperationException" Can someone help me fix this erroer?

private void BtnBrdjGezond_Click(object sender, RoutedEventArgs e)
    {
        UserControl usc = null;
        usc = new UserControlHome();
        this.AddChild(usc);
    }
Bart
  • 47
  • 8

0 Answers0