15 Aralık 2012 Cumartesi
c# da kodla button yada label olusturma
int i;
for (i = 0; i < 4; i++)
{
Label dugme = new Label();
dugme.Top = 50;
dugme.Left = 70+90*i;
dugme.Width = 50;
dugme.Text = "Buton1";
this.Controls.Add(dugme);
// button ekleme ş
button dugme = new button();
dugme.Top = 50;
dugme.Left = 70+90*i;
dugme.Width = 50;
dugme.Text = "Buton1";
this.Controls.Add(dugme);
}
Kaydol:
Kayıt Yorumları (Atom)
Hiç yorum yok:
Yorum Gönder