Start på Pass 3
This commit is contained in:
16
Pass 3/gui_example3.py
Executable file
16
Pass 3/gui_example3.py
Executable 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)
|
||||
Reference in New Issue
Block a user