-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I have and Application that show an splash on separeted thead, when the splash finish invoke the main window application, and not show the plot.
Splash code. https://github.com/hamekoz/hamekoz-sharp/blob/master/Hamekoz.UI/Splash.cs
MainWindowUI contains the plot view that not render de plot.
using System;
using Hamekoz.Core;
using Hamekoz.UI;
using Xwt;
namespace Hamekoz.App
{
class MainClass
{
[STAThread]
public static void Main (string[] args)
{
Application.Initialize ();
var splash = new Splash {
SplashImage = Resources.Splash,
};
splash.OnPreload += () => {
splash.SetInfo ("Working...");
//do some work
};
splash.OnFinish += delegate {
Application.Invoke (() => new MainWindowsUI ());
};
splash.Run ();
Application.Run ();
Application.Dispose ();
}
}
}
Metadata
Metadata
Assignees
Labels
No labels