Quantcast
Channel: AvalonDock
Viewing all articles
Browse latest Browse all 2690

Commented Issue: Issue when Windows Form User Control gets hosted in WPF control in Avalon DockingManager. [15368]

$
0
0
Windows Form User Control gets hosted in WPF control in Avalon DockingManager. Then that WPF control gets hosted in regular windows form.
Everything gets built OK.
During the run time exception being thrown in Program.cs "object reference not set to an instant of the object".

static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1()); //<--exception is thrown here
}
}
Comments: ** Comment from web user: mach22 **

Sorry my tested application with the fix is the AvalonDock.zip


Viewing all articles
Browse latest Browse all 2690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>