This project is read-only.
1

Closed

TestWinformsInteroperability not working

description

I am trying to place the NavigationPane WPF control in a Winforms control using ElementHost. I created a simple test project but it crashed. So I tried to run the TestWinformsInteroperability project and this fails in the same place.
 
public override void EndInit()
    {
        Application.Current.Exit += new ExitEventHandler(OnAppExit);  
 
        if (AutoStateManagement)
            LoadState();
        base.EndInit();
    }
I get an "Object Reference not set..." exception on the line beginning "Application.Current.Exit +=...".
 
Regards
Chris
Closed Sep 13, 2012 at 9:04 AM by 0xfefi

comments

wrote Sep 13, 2012 at 9:04 AM

Resolved with changeset 79545.

wrote Feb 21, 2013 at 11:30 PM

wrote May 16, 2013 at 11:00 AM