3 Ocak 2019 Perşembe

c# Form Basit modlama örneği

private void umut (int sayi1, int sayi2)
            {
            int sonuc = sayi1 * sayi2;
            MessageBox.Show(sonuc.ToString());
        }


        private void button1_Click(object sender, EventArgs e)
        {
            int  sa = int.Parse(textBox1.Text);
            int ass = int.Parse(textBox2.Text);
            umut(sa, ass);
            
            }

Hiç yorum yok:

Yorum Gönder

c# Veritabanıyla giriş yapıp, üye olmak ve şifre unutmak!

Üye olmak;;;  if (con.State == ConnectionState.Closed)             {                 con.Open();                 string kayit = ...