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 **
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