Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import clr
- clr.AddReference('System.Windows.Forms')
- from System.Windows.Forms import *
- clr.AddReference('System.Drawing')
- from System.Drawing import Point
- def Zbroj(a,b):
- return a+b
- def newbut_Click(sender,args):
- sender.Tag.label1.Text='hahahhahhah'
- def DodajKontrole(frm):
- newbut=Button(Text='Pritisni', Location=Point(120,145))
- newbut.Click += newbut_Click
- newbut.Tag=frm
- frm.Controls.Add(newbut)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement