views:

27

answers:

0

Hi I'm developing an app that needs to have some backward compatibility. I have a form where I host the UserControl element. When i do that 2 extra buttons show from the middle of nowhere alt text

like navigation application. How to get rid off these?

the gui was made in blend. Firstly i made a new project (WPF) and then i change it to WPF User control lib. I made a form with HostElement, add ref to dll with my user control and then just

        UserControl1 myControl = new UserControl1();
        this.elementHost1.Child = myControl;

and these 2 buttons have shown when i press button

     private void VibrationButton_Click(object sender, RoutedEventArgs e)
    {
        this.MainTab.SelectedItem = this.tab_vibration;
    }

Edit 2 http://www.speedyshare.com/files/22953374/ImportWizard2.zip here's a project