Пример #1
0
        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);
        }
Пример #2
0
        public void GuncellemeKontrolList_Add(params object[] kontrols)
        {
            if (kontrols == null || kontrols.Length == 0)
            {
                return;
            }

            foreach (var obj in kontrols)
            {
                GuncellemeKontrolList.Add(obj);
            }
        }