private void FormuTemizle(bool kodHaric) { _masaId = 0; _sonMasaAdi = string.Empty; _masa = new Masa(); _masaGetiriliyor = false; CommonHelper.AlanlariTemizle(layoutControlGroup2, kodHaric ? new string[] { txtMasaAdi.Name } : null); CommonHelper.DegerleriTagaAl(layoutControlGroup2); btnKaydet.Visible = true; btnYeni.Visible = true; btnSil.Enabled = false; _guncelle = false; txtMasaAdi.Focus(); }
private void FormuTemizle(bool kodHaric) { _kullaniciId = 0; _sonKullaniciAdi = string.Empty; _kullanici = new Kullanici(); _kullaniciKartiGetiriliyor = false; CommonHelper.AlanlariTemizle(layoutControlGroup2, kodHaric ? new string[] { txtKullaniciAdi.Name } : null); CommonHelper.DegerleriTagaAl(layoutControlGroup2); btnKaydet.Visible = true; btnYeni.Visible = true; btnSil.Enabled = false; _guncelle = false; txtSifre.ReadOnly = false; txtKullaniciAdi.Focus(); chbAdminKullanici.CheckState = CheckState.Unchecked; chbDurum.CheckState = CheckState.Unchecked; chbSifreDegistir.CheckState = CheckState.Unchecked; }