python import clr clr.AddReference("System.Windows.Forms") clr.AddReference("System.Drawing") from System.Windows.Forms import Application, Form, Label class MyForm(Form): def __init__(self): self.label = Label() self.label.AutoSize = True self.Controls.Add(self.label) Application.Run(MyForm())


上一篇:
下一篇:
切换中文