Пример #1
0
        public void Temizle()
        {
            ID.Clear();
            KullaniciAdi.Clear();

            Yetki.Clear();
        }
        public bool IsValid()
        {
            if (KullaniciAdi.Length <= 0 || KullaniciAdi.Length > 6)
            {
                return(false);
            }
            if (Sifre.Length <= 0 || Sifre.Length > 6)
            {
                return(false);
            }
            if (KullaniciAdi.Contains(" ") || Sifre.Contains(" "))
            {
                return(false);
            }


            return(true);
        }
Пример #3
0
 private void KullaniciAdi_Click(object sender, EventArgs e)
 {
     KullaniciAdi.Clear();
 }