コード例 #1
0
ファイル: Program.cs プロジェクト: Dargoth/2dEditor
 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();
         }
     }
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: Dargoth/2dEditor
 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();
         }
     }
 }
コード例 #3
0
        private static void Init()
        {
            EditorWindow window = GetWindow(typeof(PianoBuilderWindow));

            window.Show();
        }