コード例 #1
0
 void KullaniciKayit()
 {
     if (nesne.emailkontrol(txteposta.Text) == true)
     {
         nesne.KullaniciKayitGuncelle(txtKullanıcıAdı.Text, txtAdSoyad.Text, cmbyetki.Text, txteposta.Text);
         nesne.KullaniciKayitGuncelle2(txtKullanıcıAdı.Text, txtAdSoyad.Text);
         MessageBox.Show("Kullanıcı bilgileri güncellenmiştir.", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Information);
         this.Hide();
     }
     else
     {
         MessageBox.Show("Lütfen doğru mail formatı giriniz!", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Error);
         txteposta.Text = "";
     }
 }