Bahçe Tarımı 1- (3.Ünite)
Bahçe Tarımı 1 – Ünite 3 kısa özeti
Bahçe Tarımı 1 – Ünite 3 kısa özeti
Bu uygulamada, mauseun butona tıklama, buton üzerine gelme ve buton üzerine gelmeme durumlarını mesaj olarak gösteriyoruz. Görsel aşağıdaki gibi olabilir. Kodlar; private void button1_MouseMove(object sender, MouseEventArgs e) { MessageBox.Show(“Mouse Üzerimde”); } private void button1_MouseLeave(object sender, EventArgs e) { MessageBox.Show(“Mause Üzerimde Değil”); } private void button1_Click(object sender, EventArgs e) { MessageBox.Show(“Mouse Tıkladınız”); }
Uygulama için bir listBox, bir textBox, bir de buton ekliyoruz. Yukarıdaki görsel örnek olarak uygulayabilir. Kodu ise; private void button1_Click(object sender, EventArgs e){listBox1.Items.Add(textBox1.Text);}
C# form ile hesap makinesi uygulaması. Tasarım örneği aşağıdaki gibi olabilir. Altında kodlar yer almaktadır. namespace WindowsFormsApplication2{ public partial class Form1 : Form { double x, y; string islem; public Form1() { InitializeComponent(); } private void textBox1_TextChanged(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) { if(textBox1.Text==”0″) { textBox1.Text = “1”; } else { textBox1.Text += “1”; […]
Bahçe Tarımı 1 – Ünite 2 kısa özeti
Bahçe Tarımı 1 dersi 1.ünite kısa özeti
Adres
Kırıkkale Üniversitesi
Kocaeli Üniversitesi
Eğitim ve Öğretim hakkında içerikler bulunur