This commit is contained in:
2018-04-26 15:42:16 +02:00
parent 932e72c55d
commit dae75cf7c6
10 changed files with 116 additions and 0 deletions

16
Pass3/9 gui_example3.py Executable file
View File

@@ -0,0 +1,16 @@
import sys
sys.path.append(r'C:\Python24\Lib')
import clr
clr.AddReference("System.Windows.Forms")
from System.Windows.Forms import Application, Form
class HelloWorldForm(Form):
def __init__(self):
self.Text = 'Hello World'
self.Name = 'Hello World'
form = HelloWorldForm()
Application.Run(form)