wmaraci reklam

Bu kodların ne anlamlara geldiğini ne görevi yaptığını söyleyebilir misiniz?

4 Mesajlar 953 Okunma
pst.net
wmaraci reklam

ferhatbatbay ferhatbatbay WM Aracı Kullanıcı
  • Üyelik 14.05.2013
  • Yaş/Cinsiyet 27 / E
  • Meslek web programlama
  • Konum İzmir
  • Ad Soyad F** B**
  • Mesajlar 652
  • Beğeniler 17 / 82
  • Ticaret 6, (%100)
public partial class Form1 : Form

{

string x;

public Form1()

{

InitializeComponent();

}

private void button30_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "l"; //butona tıklandıgında text'e yazdırıyor.Diğer butonlar içinde geçerli.

}

private void button11_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "q";

}

private void button20_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "w";

}

private void button21_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "e";

}

private void button22_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "r";

}

private void button23_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "t";

}

private void button24_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "y";

}

private void button19_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "u";

}

private void button17_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "ı";

}

private void button16_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "o";

}

private void button15_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "p";

}

private void button14_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "ğ";

}

private void button13_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "ü";

}

private void button12_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "a";

}

private void button18_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "s";

}

private void button36_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "d";

}

private void button35_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "f";

}

private void button34_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "g";

}

private void button33_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "h";

}

private void button32_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "j";

}

private void button31_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "k";

}

private void button29_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "ş";

}

private void button25_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "i";

}

private void button26_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + ",";

}

private void button28_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "<";

}

private void button27_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "z";

}

private void button37_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "x";

}

private void button44_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "c";

}

private void button43_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "v";

}

private void button42_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "b";

}

private void button41_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "n";

}

private void button40_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "m";

}

private void button39_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "ö";

}

private void button38_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "ç";

}

private void button47_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + ".";

}

private void button46_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + ">";

}

private void button48_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + ":";

}

private void button45_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + " ";

}

private void button49_Click(object sender, EventArgs e)

{

textBox1.Text = x;

x = "";

}

private void button1_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "1";

}

private void button2_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "2";

}

private void button3_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "3";

}

private void button4_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "4";

}

private void button5_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "5";

}

private void button6_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "6";

}

private void button7_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "7";

}

private void button8_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "8";

}

private void button9_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "9";

}

private void button10_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "0";

}

private void button54_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "/";

}

private void button49_Click_1(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "*";

}

private void button64_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "-";

}

private void button53_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "7";

}

private void button55_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "8";

}

private void button52_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "4";

}

private void button51_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "1";

}

private void button50_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "0";

}

private void button60_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + ",";

}

private void button57_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "2";

}

private void button56_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "5";

}

private void button61_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "3";

}

private void button62_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "6";

}

private void button63_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "9";

}

private void button58_Click(object sender, EventArgs e)

{

textBox1.Text = textBox1.Text + "+";

}

private void button59_Click(object sender, EventArgs e)

{

}

}


arkadaşlar c# dan hiç anlamadığım için bi ödevim var yardımcı olursanız sevinirim. Bu kodların ne anlamlara geldiğini ne görevi yaptığını birisi yazarsa makbule geçer. Yapılacak şey sanal klavye kodları buldum ama kodların anlamlarının ne olduğunu da yazmam gerekiyor.
 

 

wmaraci
reklam

adamnatersi adamnatersi WM Aracı Kullanıcı
  • Üyelik 03.03.2013
  • Yaş/Cinsiyet 39 / E
  • Meslek Web Yazılım Uzmanı
  • Konum Adana
  • Ad Soyad A** K**
  • Mesajlar 76
  • Beğeniler 14 / 19
  • Ticaret 0, (%0)
burda bişey yok ki, 1 tane textbox var ve klavyede tuş adeti kadar buton eklenmiş, yani mesela ilk butanun textine a yazılmış i,çinede, textbox1.text=textbox1.text=+"a"; eklenmiş bu durumda hangi butone basarsan textbox a o butyunun karakterini ekliyor....
ferhatbatbay

kişi bu mesajı beğendi.

http://www.korkmazadem.com

ferhatbatbay ferhatbatbay WM Aracı Kullanıcı
  • Üyelik 14.05.2013
  • Yaş/Cinsiyet 27 / E
  • Meslek web programlama
  • Konum İzmir
  • Ad Soyad F** B**
  • Mesajlar 652
  • Beğeniler 17 / 82
  • Ticaret 6, (%100)

adamnatersi adlı üyeden alıntı

burda bişey yok ki, 1 tane textbox var ve klavyede tuş adeti kadar buton eklenmiş, yani mesela ilk butanun textine a yazılmış i,çinede, textbox1.text=textbox1.text=+"a"; eklenmiş bu durumda hangi butone basarsan textbox a o butyunun karakterini ekliyor....


anladım hocam çok teşekkür ederim.
 

 

Muhsin ASLAN Muhsin ASLAN Üyeliği Durdurulmuş Banlı Kullanıcı
  • Üyelik 10.07.2012
  • Yaş/Cinsiyet 29 / E
  • Meslek Developer
  • Konum Konya
  • Ad Soyad M** A**
  • Mesajlar 1120
  • Beğeniler 1086 / 244
  • Ticaret 1, (%100)
Hocam klavye yapılmış galiba bitane textbox(yazı alanı) var örnek buton_33 basınca "q" yazdırıyor. Sonra buton_12'e basınca önceki yazılı olan kalıyor o butondaki yazı yazılıyor "qe" mesela. Buton 49 ise silme işlemini yapıyor. Basit bir şekilde ekran klavyesi yapılmış.
ferhatbatbay

kişi bu mesajı beğendi.

wmaraci
Mersin evden eve nakliyat
wmaraci
Konuyu toplam 1 kişi okuyor. (0 kullanıcı ve 1 misafir)
Site Ayarları
  • Tema Seçeneği
  • Site Sesleri
  • Bildirimler
  • Özel Mesaj Al