Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. import clr
  2. clr.AddReference('System.Windows.Forms')
  3. clr.AddReference('System.Drawing')
  4. from System.Windows.Forms import Application, Button, Form
  5. from System.Drawing import Point
  6.  
  7. form = Form()
  8. form.Text = "Привет Dynamo!"
  9. button = Button(Text="Button Text")
  10. form.Controls.Add(button)
  11.  
  12. Application.Run(form)
  13. form.Show()
  14.  
  15. OUT=x