private void txt_Kaydol_kullaniciAdi_TextChanged(object sender, EventArgs e) { Users u = new Users(); if (u.KullaniciAdKontrol(txt_Kaydol_kullaniciAdi.Text) == true) { lblKullaniciAdi.Text = "Kullanıcı Adı Alınmış"; btn_Kaydol.Enabled = false; } else { btn_Kaydol.Enabled = true; lblKullaniciAdi.Text = "Kullanıcı Adı Uygun"; } }