OSDN Git Service

f2b0990833b29548372da17c357ea5a526bb3a3b
[ring-lang-081/ring.git] / applications / formdesigner / source / tests / twowindows / secondwindowController.ring
1 # Form/Window Controller - Source Code File
2
3 load "secondwindowView.ring"
4
5 if IsMainSourceFile() {
6         new qApp {
7                 StyleFusion()
8                 open_window(:secondwindowController)
9                 exec()
10         }
11 }
12
13 class secondwindowController from windowsControllerParent
14
15         oView = new secondwindowView
16
17         func CloseWindow 
18
19                 oView.win.Close()