public bool GuncellemeKontrol(bool mesajVer = false) { bool sonuc = Yetki.GuncellemeYetkisi(YetkiList, FormName, GuncellemeKontrolList.ToArray()); if (sonuc == false && mesajVer) { Mesaj.Uyari("Güncelleme yetkiniz bulunmamaktadır!!"); } return(sonuc); }
public void GuncellemeKontrolList_Add(params object[] kontrols) { if (kontrols == null || kontrols.Length == 0) { return; } foreach (var obj in kontrols) { GuncellemeKontrolList.Add(obj); } }