OSDN Git Service

Ring 1.10 以来となる開発環境の日本語ローカライズ版 (評価版) を追加 (ノートパッド、フォームデザイナー、対話型実行環境、ファイルの検索)。
[ring-lang-081/ring.git] / applications / formdesigner / source / tests / twowindows / secondwindowController.ring
diff --git a/applications/formdesigner/source/tests/twowindows/secondwindowController.ring b/applications/formdesigner/source/tests/twowindows/secondwindowController.ring
new file mode 100644 (file)
index 0000000..f2b0990
--- /dev/null
@@ -0,0 +1,19 @@
+# Form/Window Controller - Source Code File
+
+load "secondwindowView.ring"
+
+if IsMainSourceFile() {
+       new qApp {
+               StyleFusion()
+               open_window(:secondwindowController)
+               exec()
+       }
+}
+
+class secondwindowController from windowsControllerParent
+
+       oView = new secondwindowView
+
+       func CloseWindow 
+
+               oView.win.Close()