Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions demo/helloform.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import clr
SWF = clr.AddReference("System.Windows.Forms")
print SWF.Location
print (SWF.Location)
import System.Windows.Forms as WinForms
from System.Drawing import Size, Point

Expand Down Expand Up @@ -49,7 +49,7 @@ def __init__(self):

def button_Click(self, sender, args):
"""Button click event handler"""
print "Click"
print ("Click")
WinForms.MessageBox.Show("Please do not press this button again.")

def run(self):
Expand All @@ -58,9 +58,9 @@ def run(self):

def main():
form = HelloApp()
print "form created"
print ("form created")
app = WinForms.Application
print "app referenced"
print ("app referenced")
app.Run(form)


Expand Down