tryphotino/photino.Samples

Not possible to open two windows after each other

Closed this issue · 2 comments

Consider the following example for opening two windows one after the other:

class Program
{
    [STAThread]
    static void Main(string[] args)
    {
        var window = new PhotinoWindow()
            .SetTitle("Window 1");

        window.LoadRawString("Hello World!");
        window.WaitForClose();

        var window2 = new PhotinoWindow()
            .SetTitle("Window 2");
        window2.LoadRawString("Hello World 2!");
        window2.WaitForClose();
    }
}

This opens the first windows, but after closing the first one, the second window isn't shown.
I'm working on Windows with Photino 2.0.13.

Was in the wrong repo, sorry.

This is still on our list to look into. We can repo it.