• Giriş

Gorsel Programlama

  • AnaSayfa
  • Hakkımızda
  • TOP-10 Proje
  • Download
  • Özel Ders
  • Reklam Verin
  • Destek
  • İletişim
RSS feed
  • Youdao
  • Xian Guo
  • Zhua Xia
  • Google
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha
© 2009-2024 Gorsel Programlama

Forma textbox’a girilen değer kadar kod ile textbox oluşturma C#

Forma textbox’a girilen değer kadar textbox oluşturma C#


using System;

using System.Collections.Generic;

using System.ComponentModel;//www.gorselprogramlama.com

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

namespace alt_alta_textbox

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

private TextBox[] txtSoru;//www.gorselprogramlama.com

int adet;

private void button1_Click(object sender, EventArgs e)

{

adet = Convert.ToInt32(textBox1.Text);

txtSoru = new TextBox[adet];//www.gorselprogramlama.com

for (int i =0; i < adet; i++)

{

txtSoru[i] = new TextBox();

txtSoru[i].Multiline = true;

txtSoru[i].ScrollBars = ScrollBars.Vertical;

txtSoru[i].Location = new Point(250, 90 * i);

txtSoru[i].Size = new Size(200, 60);

this.Controls.Add(txtSoru[i]);//www.gorselprogramlama.com

}

}

}

}//www.gorselprogramlama.com

Dosyayı İNDİR

Paylaş :
Tweet
Yorum Yazın | Geri
4 Ocak Çarşamba,2012 Tarihinde Yayınlanmıştır. Bulunduğu Kategori : C#
Etiket: .NET, Csharp, istenilem, kadar, kod, oluşturma, örnek, textbox
« 2011-2012 Öğretim Yılı Nesne Tabanlı Programlama Dersi 1.Dönem 3.Uygulama Sınavı Soruları ve Cevapları 2011-2012 Öğretim Yılı Programlama Temelleri Dersi 1.Dönem 3.Yazılı Sınavı Soruları ve Cevapları »
  1. mucan
    Cevap | Gönder
    Oca 12th, 2012 at 19:08 | #1

    hata veriyor !

  2. mucan
    Cevap | Gönder
    Oca 12th, 2012 at 19:12 | #2

    Error 1 ‘WindowsFormsApplication11.Form1’ does not contain a definition for ‘Form1_Load’ and no extension method ‘Form1_Load’ accepting a first argument of type ‘WindowsFormsApplication11.Form1’ could be found (are you missing a using directive or an assembly reference?) C:\Users\Mucan\Documents\Visual Studio 2008\Projects\WindowsFormsApplication11\WindowsFormsApplication11\Form1.Designer.cs 60 55 WindowsFormsApplication11

  3. mucan
    Cevap | Gönder
    Oca 13th, 2012 at 10:03 | #3

    TAMAM TAMAM İNDİRİP DENEDİM ÇALIŞTI

  4. admin
    Cevap | Gönder
    Oca 14th, 2012 at 01:12 | #4

    form1’i bulamıyor. Projenin hazır halini yukarıdaki Projeyi İNDİR linkinden indirebilirsin.

  5. cabbar
    Cevap | Gönder
    Oca 24th, 2012 at 09:35 | #5

    öncelikle çalışma için teşekkür ederim güzel bir örnek olmuş. Benim bu örnekle ilgili sorum olacak. Girilen değer kadar Textbox oluşturduktan sonra olusturulan Textbox lara click event i verme şansımız varmı ?

  6. admin
    Cevap | Gönder
    Oca 24th, 2012 at 22:58 | #6

    Aşağıdaki linki inceleyebilirsin.

    http://www.gorselprogramlama.com/kod-ile-olusturulan-butona-gorev-atama-c-net/

  7. admin
    Cevap | Gönder
    Şub 19th, 2012 at 14:28 | #7

    Sitemizin Google’da Ön Sıralarda Çıkması İçin Lütfen Google+ Butonuna Tıklayınız , Sayfamızı Facebookta Beğeniniz veya yazıları Twitter,Facebookta paylaşınız.

  8. ethem
    Cevap | Gönder
    Mar 3rd, 2013 at 22:11 | #8

    oluşturulan textboxa sadece sayı girmem lazım nasıl yapabilirim?

  9. admin
    Cevap | Gönder
    Mar 13th, 2013 at 10:24 | #9

    ethem :
    Aşağıdaki linki incele .
    http://www.gorselprogramlama.com/textboxi-ondalik-basamaga-ayarlama-sadece-sayi-girisi/

  10. celal topçu
    Cevap | Gönder
    Eki 3rd, 2013 at 15:03 | #10

    hocam merhaba.
    textboxa girilen değer kadar textbox combobox oluşturuluyorda label oluşturulabilir mi ? yukarıdakine benzer bi kod ile yazmıştım zaten. textbox ve combobox oluşturuluyor ancak label sadece bir tane oluşturuluyor. sizce neden kaynaklanıyordur??

  11. ece
    Cevap | Gönder
    Mar 25th, 2014 at 17:21 | #11

    nerden indircez?

  12. admin
    Cevap | Gönder
    Mar 25th, 2014 at 20:58 | #12

    ece:
    Yukarıdaki Dosyayı İNDİR linkinden indirebilirsiniz.

  13. Furkan
    Cevap | Gönder
    Kas 16th, 2017 at 08:45 | #13

    Hocam iyi günler matrisin satır ve sütun boyutu kadar textbox oluşturmak istiyorum fakat projeyi çalıştırdığımda herhangi bir olay gerçekleşmyor ayrıca herhangi bir hata mesajı da almıyorum

  14. admin
    Cevap | Gönder
    Kas 16th, 2017 at 12:24 | #14

    Furkan :
    iç içe for kullanmanız gerekir.

Yorum Yazın ...

Cevabı İptal
XHTML: Bu Etiketleri Kullanabilirsiniz : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
RSS Bu Yazıya Yapılan Yorumlar


Site içi Arama

Takip et: @GorselProgram







Böyle bir web sayfam olsun diyorsanız iletişim bölümünden veya gorselprogram@gmail.com mail adresinden bize ulaşabilirsiniz.

Son Yazılar

  • 2023-2024 öğretim yılı nesne tabanlı programlama dersi 2.dönem 2. yazılı ve uygulama sınav soruları ve cevap anahtarı
  • 2023-2024 öğretim yılı nesne tabanlı programlama dersi 2.dönem 1. yazılı ve uygulama sınav soruları ve cevap anahtarı
  • 2023-2024 öğretim yılı nesne tabanlı programlama dersi 1.dönem 2. yazılı ve uygulama sınav soruları ve cevap anahtarı
  • 2023-2024 öğretim yılı nesne tabanlı programlama dersi 1.dönem 1. yazılı ve uygulama sınav soruları ve cevap anahtarı
  • 2023-2024 öğretim yılı bilgisayar tasarım uygulamaları dersi 1.dönem 1.sınav soruları ve cevap anahtarı

Etiket Bulutu

.NET Application basit C# C#.NET application C#.NET codes C#.NET examples C#.NET lessons C#.NET practice C#.net örnekleri c# console dersleri c# console örnekleri C# ders c# dersleri c# örnek c# örnekleri C.net dersleri c dersleri code console console örnekleri Csharp csharp dersleri csharp net csharp örnekleri c örnekleri download Flash örnekleri forms Forms örnekleri full indir kod kodlar nesne tabanlı programlama OleDbConnection OleDbDataAdapter tam sürüm uygulama vb net win windows windows forms application örnek ücretsiz

Kategoriler

  • Access (59)
  • Akış Diyagramı Flowchart (69)
  • Android Eğitimleri (2)
  • Asp Net (47)
  • C# (834)
  • C# Console (222)
  • Css (19)
  • Dersler (191)
  • Dökümanlar (21)
  • Dreamweaver (12)
  • Excel (8)
  • Fireworks (28)
  • Flash (77)
  • Görsel Programlama (421)
  • GorselProgramlama.Com (8)
  • Html (35)
  • Pascal (2)
  • Photoshop (5)
  • PHP (2)
  • Planlar (114)
  • Programlama Tanım (4)
  • Sınavlar (147)
  • Sql (10)
  • VB 6.0 (45)
  • VB.NET (219)
  • Videolar (65)
  • Word (7)

Arşiv

Bağlantılar

  • Html Dersleri
  • Muslu.NET
  • Programlama Dersleri

Kimler Sitede ?


    Computers Blogs Top programming blogs

   sayaç Powered by WordPress | Theme by NeoEase | Valid XHTML 1.1 and CSS 3 Yukarı