2020년 8월 17일 월요일

[Iron Python] WPF Window Create

 1. WPF WIndow Create

import clr
clr.AddReference("PresentationFramework")
clr.AddReference("PresentationCore")

from System.Windows import *

if __name__ == "__main__":     
    w = Window()
    w.Title = "Hello World"
    w.Width = 320
    w.Height = 240
    Application().Run(w)    


댓글 없음:

댓글 쓰기