static void Main() { using (window = new EditorWindow()) { window.Show(); window.createFrame(); // While the form is still valid, render and process messages. while (window.Created) { window.Render(); Application.DoEvents(); } } }
private static void Init() { EditorWindow window = GetWindow(typeof(PianoBuilderWindow)); window.Show(); }