public static void GuranAya(string RealServerFolder)
        {
              if (LanguageSelect == 1)
            {

            ListAya.Add(new AuthorClass() { ServerName = "001", RealName = " الفاتحة" });
            ListAya.Add(new AuthorClass() { ServerName = "002", RealName = "البقرة" });
            ListAya.Add(new AuthorClass() { ServerName = "003", RealName = "ال عمران " });
            ListAya.Add(new AuthorClass() { ServerName = "004", RealName = "النساء" });
            ListAya.Add(new AuthorClass() { ServerName = "005", RealName = " المائدة" });
            ListAya.Add(new AuthorClass() { ServerName = "006", RealName = " الانعام" });
            ListAya.Add(new AuthorClass() { ServerName = "007", RealName = " الأعراف" });
            ListAya.Add(new AuthorClass() { ServerName = "008", RealName = " الأنفال" });
            ListAya.Add(new AuthorClass() { ServerName = "009", RealName = " التوبة " });
            ListAya.Add(new AuthorClass() { ServerName = "010", RealName = " يونس" });
            ListAya.Add(new AuthorClass() { ServerName = "011", RealName = " هود" });
            ListAya.Add(new AuthorClass() { ServerName = "012", RealName = " يوسف" });
            ListAya.Add(new AuthorClass() { ServerName = "013", RealName = " الرعد" });
            ListAya.Add(new AuthorClass() { ServerName = "014", RealName = " إبراهيم" });
            ListAya.Add(new AuthorClass() { ServerName = "015", RealName = " الحجر" });
            ListAya.Add(new AuthorClass() { ServerName = "016", RealName = " النحل" });
            ListAya.Add(new AuthorClass() { ServerName = "017", RealName = " الإسراء" });
            ListAya.Add(new AuthorClass() { ServerName = "018", RealName = " الكهف" });
            ListAya.Add(new AuthorClass() { ServerName = "019", RealName = " مريم" });
            ListAya.Add(new AuthorClass() { ServerName = "020", RealName = " طه" });
            ListAya.Add(new AuthorClass() { ServerName = "021", RealName = " الأنبياء" });
            ListAya.Add(new AuthorClass() { ServerName = "022", RealName = " الحج" });
            ListAya.Add(new AuthorClass() { ServerName = "023", RealName = " المؤمنون" });
            ListAya.Add(new AuthorClass() { ServerName = "024", RealName = " النّور" });
            ListAya.Add(new AuthorClass() { ServerName = "025", RealName = "  الفرقان " });
            ListAya.Add(new AuthorClass() { ServerName = "026", RealName = "  الشعراء " });
            ListAya.Add(new AuthorClass() { ServerName = "027", RealName = " النّمل" });
            ListAya.Add(new AuthorClass() { ServerName = "028", RealName = " القصص" });
            ListAya.Add(new AuthorClass() { ServerName = "029", RealName = " العنكبوت" });
            ListAya.Add(new AuthorClass() { ServerName = "030", RealName = " الرّوم" });
            ListAya.Add(new AuthorClass() { ServerName = "031", RealName = " لقمان" });
            ListAya.Add(new AuthorClass() { ServerName = "032", RealName = " السجدة" });
            ListAya.Add(new AuthorClass() { ServerName = "033", RealName = " الأحزاب" });
            ListAya.Add(new AuthorClass() { ServerName = "034", RealName = " سبأ" });
            ListAya.Add(new AuthorClass() { ServerName = "035", RealName = " فاطر" });
            ListAya.Add(new AuthorClass() { ServerName = "036", RealName = " يس" });
            ListAya.Add(new AuthorClass() { ServerName = "037", RealName = " الصافات" });
            ListAya.Add(new AuthorClass() { ServerName = "038", RealName = " ص" });
            ListAya.Add(new AuthorClass() { ServerName = "039", RealName = " الزمر" });
            ListAya.Add(new AuthorClass() { ServerName = "040", RealName = " غافر" });
            ListAya.Add(new AuthorClass() { ServerName = "041", RealName = " فصّلت" });
            ListAya.Add(new AuthorClass() { ServerName = "042", RealName = " الشورى" });
            ListAya.Add(new AuthorClass() { ServerName = "043", RealName = " الزخرف" });
            ListAya.Add(new AuthorClass() { ServerName = "044", RealName = " الدّخان" });
            ListAya.Add(new AuthorClass() { ServerName = "045", RealName = " الجاثية" });
            ListAya.Add(new AuthorClass() { ServerName = "046", RealName = " الأحقاف" });
            ListAya.Add(new AuthorClass() { ServerName = "047", RealName = " محمد" });
            ListAya.Add(new AuthorClass() { ServerName = "048", RealName = " الفتح" });
            ListAya.Add(new AuthorClass() { ServerName = "049", RealName = " الحجرات" });
            ListAya.Add(new AuthorClass() { ServerName = "050", RealName = " ق" });
            ListAya.Add(new AuthorClass() { ServerName = "051", RealName = " الذاريات" });
            ListAya.Add(new AuthorClass() { ServerName = "052", RealName = " الطور" });
            ListAya.Add(new AuthorClass() { ServerName = "053", RealName = " النجم" });
            ListAya.Add(new AuthorClass() { ServerName = "054", RealName = " القمر" });
            ListAya.Add(new AuthorClass() { ServerName = "055", RealName = " الرحمن" });
            ListAya.Add(new AuthorClass() { ServerName = "056", RealName = " الواقعة" });
            ListAya.Add(new AuthorClass() { ServerName = "057", RealName = " الحديد" });
            ListAya.Add(new AuthorClass() { ServerName = "058", RealName = " المجادلة" });
            ListAya.Add(new AuthorClass() { ServerName = "059", RealName = " الحشر" });
            ListAya.Add(new AuthorClass() { ServerName = "060", RealName = " الممتحنة" });
            ListAya.Add(new AuthorClass() { ServerName = "061", RealName = " الصف" });
            ListAya.Add(new AuthorClass() { ServerName = "062", RealName = " الجمعة" });
            ListAya.Add(new AuthorClass() { ServerName = "063", RealName = " المنافقون" });
            ListAya.Add(new AuthorClass() { ServerName = "064", RealName = " التغابن" });
            ListAya.Add(new AuthorClass() { ServerName = "065", RealName = " الطلاق" });
            ListAya.Add(new AuthorClass() { ServerName = "066", RealName = " التحريم" });
            ListAya.Add(new AuthorClass() { ServerName = "067", RealName = " الملك" });
            ListAya.Add(new AuthorClass() { ServerName = "068", RealName = " القلم" });
            ListAya.Add(new AuthorClass() { ServerName = "069", RealName = " الحاقة" });
            ListAya.Add(new AuthorClass() { ServerName = "070", RealName = " المعارج" });
            ListAya.Add(new AuthorClass() { ServerName = "071", RealName = " نوح" });
            ListAya.Add(new AuthorClass() { ServerName = "072", RealName = " الجن" });
            ListAya.Add(new AuthorClass() { ServerName = "073", RealName = " المزّمّل" });
            ListAya.Add(new AuthorClass() { ServerName = "074", RealName = " المدّثر" });
            ListAya.Add(new AuthorClass() { ServerName = "075", RealName = " القيامة" });
            ListAya.Add(new AuthorClass() { ServerName = "076", RealName = " الإنسان" });
            ListAya.Add(new AuthorClass() { ServerName = "077", RealName = " المرسلات" });
            ListAya.Add(new AuthorClass() { ServerName = "078", RealName = " النبأ" });
            ListAya.Add(new AuthorClass() { ServerName = "079", RealName = " النازعات" });
            ListAya.Add(new AuthorClass() { ServerName = "080", RealName = " عبس" });
            ListAya.Add(new AuthorClass() { ServerName = "081", RealName = " التكوير" });
            ListAya.Add(new AuthorClass() { ServerName = "082", RealName = " الإنفطار" });
            ListAya.Add(new AuthorClass() { ServerName = "083", RealName = " المطفّفين" });
            ListAya.Add(new AuthorClass() { ServerName = "084", RealName = " الإنشقاق" });
            ListAya.Add(new AuthorClass() { ServerName = "085", RealName = " البروج" });
            ListAya.Add(new AuthorClass() { ServerName = "086", RealName = " الطارق" });
            ListAya.Add(new AuthorClass() { ServerName = "087", RealName = " الأعلى" });
            ListAya.Add(new AuthorClass() { ServerName = "088", RealName = " الغاشية" });
            ListAya.Add(new AuthorClass() { ServerName = "089", RealName = " الفجر" });
            ListAya.Add(new AuthorClass() { ServerName = "090", RealName = " البلد" });
            ListAya.Add(new AuthorClass() { ServerName = "091", RealName = " الشمس" });
            ListAya.Add(new AuthorClass() { ServerName = "092", RealName = " الليل" });
            ListAya.Add(new AuthorClass() { ServerName = "093", RealName = " الضحى" });
            ListAya.Add(new AuthorClass() { ServerName = "094", RealName = " الشرح" });
            ListAya.Add(new AuthorClass() { ServerName = "095", RealName = " التين" });
            ListAya.Add(new AuthorClass() { ServerName = "096", RealName = " العلق" });
            ListAya.Add(new AuthorClass() { ServerName = "097", RealName = " القدر" });
            ListAya.Add(new AuthorClass() { ServerName = "098", RealName = " البينة" });
            ListAya.Add(new AuthorClass() { ServerName = "099", RealName = " الزلزلة" });
            ListAya.Add(new AuthorClass() { ServerName = "100", RealName = " العاديات" });
            ListAya.Add(new AuthorClass() { ServerName = "101", RealName = " القارعة" });
            ListAya.Add(new AuthorClass() { ServerName = "102", RealName = " التكاثر" });
            ListAya.Add(new AuthorClass() { ServerName = "103", RealName = " العصر" });
            ListAya.Add(new AuthorClass() { ServerName = "104", RealName = " الهمزة" });
            ListAya.Add(new AuthorClass() { ServerName = "105", RealName = " الفيل" });
            ListAya.Add(new AuthorClass() { ServerName = "106", RealName = " قريش" });
            ListAya.Add(new AuthorClass() { ServerName = "107", RealName = " الماعون" });
            ListAya.Add(new AuthorClass() { ServerName = "108", RealName = " الكوثر" });
            ListAya.Add(new AuthorClass() { ServerName = "109", RealName = " الكافرون" });
            ListAya.Add(new AuthorClass() { ServerName = "110", RealName = " النصر" });
            ListAya.Add(new AuthorClass() { ServerName = "111", RealName = " المسد" });
            ListAya.Add(new AuthorClass() { ServerName = "112", RealName = " الإخلاص" });
            ListAya.Add(new AuthorClass() { ServerName = "113", RealName = " الفلق" });
            ListAya.Add(new AuthorClass() { ServerName = "114", RealName = " النّاس" });
            }
              else
              {
                  ListAya.Add(new AuthorClass() { ServerName = "001",RealName = " Al Fatha"});
                  ListAya.Add(new AuthorClass() { ServerName = "002",RealName = "Al  bakara"});
                  ListAya.Add(new AuthorClass() { ServerName = "003",RealName = "Al E imran"});
                  ListAya.Add(new AuthorClass() { ServerName = "004",RealName = "Al nisa"});
                  ListAya.Add(new AuthorClass() { ServerName = "005",RealName = " Al maeda"});
                  ListAya.Add(new AuthorClass() { ServerName = "006",RealName = " AL Anam"});
                  ListAya.Add(new AuthorClass() { ServerName = "007",RealName = " Al Aaraf"});
                  ListAya.Add(new AuthorClass() { ServerName = "008",RealName = " Al anfal"});
                  ListAya.Add(new AuthorClass() { ServerName = "009",RealName = " Al toba "});
                  ListAya.Add(new AuthorClass() { ServerName = "010", RealName =" Younis"});
                  ListAya.Add(new AuthorClass() { ServerName = "011",RealName = " Hood"});
                  ListAya.Add(new AuthorClass() { ServerName = "012",RealName = " Yousef"});
                  ListAya.Add(new AuthorClass() { ServerName = "013",RealName = " Ra'ad"});
                  ListAya.Add(new AuthorClass() { ServerName = "014",RealName = " Abrahim"});
                  ListAya.Add(new AuthorClass() { ServerName = "015",RealName = " Al hajar"});
                  ListAya.Add(new AuthorClass() { ServerName = "016", RealName =" Al nahal"});
                  ListAya.Add(new AuthorClass() { ServerName = "017",RealName = " Al esra"});
                  ListAya.Add(new AuthorClass() { ServerName = "018",RealName = " Al kahaf"});
                  ListAya.Add(new AuthorClass() { ServerName = "019",RealName = " Mareim"});
                  ListAya.Add(new AuthorClass() { ServerName = "020",RealName = " Ta-ha"});
                  ListAya.Add(new AuthorClass() { ServerName = "021",RealName = " Al anbea"});
                  ListAya.Add(new AuthorClass() { ServerName = "022",RealName = " AL haj"});
                  ListAya.Add(new AuthorClass() { ServerName = "023",RealName = " Al mo-manon"});
                  ListAya.Add(new AuthorClass() { ServerName = "024",RealName = " Al noor"});
                  ListAya.Add(new AuthorClass() { ServerName = "025",RealName = "  Al forkan "});
                  ListAya.Add(new AuthorClass() { ServerName = "026",RealName = "  Al shoara "});
                  ListAya.Add(new AuthorClass() { ServerName = "027",RealName = " Al  namal"});
                  ListAya.Add(new AuthorClass() { ServerName = "028",RealName = " AL Ka-sas"});
                  ListAya.Add(new AuthorClass() { ServerName = "029",RealName = " AL an-kabot"});
                  ListAya.Add(new AuthorClass() { ServerName = "030",RealName = " AL rom'"});
                  ListAya.Add(new AuthorClass() { ServerName = "031",RealName = " Lokman"});
                  ListAya.Add(new AuthorClass() { ServerName = "032",RealName = " sajda"});
                  ListAya.Add(new AuthorClass() { ServerName = "033",RealName = " ah-zab"});
                  ListAya.Add(new AuthorClass() { ServerName = "034",RealName = " saba"});
                  ListAya.Add(new AuthorClass() { ServerName = "035",RealName = " fatar"});
                  ListAya.Add(new AuthorClass() { ServerName = "036",RealName = " ya-seen"});
                  ListAya.Add(new AuthorClass() { ServerName = "037",RealName = " al safat"});
                  ListAya.Add(new AuthorClass() { ServerName = "038",RealName = " S-at'"});
                  ListAya.Add(new AuthorClass() { ServerName = "039",RealName = " al zomar"});
                  ListAya.Add(new AuthorClass() { ServerName = "040",RealName = " ca-far"});
                  ListAya.Add(new AuthorClass() { ServerName = "041",RealName = " fo-salat"});
                  ListAya.Add(new AuthorClass() { ServerName = "042",RealName = " al shora"});
                  ListAya.Add(new AuthorClass() { ServerName = "043",RealName = " al zokraf"});
                  ListAya.Add(new AuthorClass() { ServerName = "044",RealName = " al dokan"});
                  ListAya.Add(new AuthorClass() { ServerName = "045",RealName = " al ja-thea"});
                  ListAya.Add(new AuthorClass() { ServerName = "046",RealName = " al ahkaf"});
                  ListAya.Add(new AuthorClass() { ServerName = "047", RealName =" mohammed"});
                  ListAya.Add(new AuthorClass() { ServerName = "048",RealName = " al fatah"});
                  ListAya.Add(new AuthorClass() { ServerName = "049",RealName = " ah ha-jarat"});
                  ListAya.Add(new AuthorClass() { ServerName = "050",RealName = " k-af"});
                  ListAya.Add(new AuthorClass() { ServerName = "051",RealName = " al tharait"});
                  ListAya.Add(new AuthorClass() { ServerName = "052",RealName = " al toor"});
                  ListAya.Add(new AuthorClass() { ServerName = "053", RealName =" al najam"});
                  ListAya.Add(new AuthorClass() { ServerName = "054", RealName =" al kamar"});
                  ListAya.Add(new AuthorClass() { ServerName = "055",RealName = " al rahman"});
                  ListAya.Add(new AuthorClass() { ServerName = "056",RealName = " al wakea"});
                  ListAya.Add(new AuthorClass() { ServerName = "057",RealName = " al haded"});
                  ListAya.Add(new AuthorClass() { ServerName = "058",RealName = " al mojadala"});
                  ListAya.Add(new AuthorClass() { ServerName = "059",RealName = " al hashar"});
                  ListAya.Add(new AuthorClass() { ServerName = "060",RealName = " al mom-tahana"});
                  ListAya.Add(new AuthorClass() { ServerName = "061",RealName = " al saf"});
                  ListAya.Add(new AuthorClass() { ServerName = "062",RealName = " al joma'"});
                  ListAya.Add(new AuthorClass() { ServerName = "063",RealName = " al monafakon"});
                  ListAya.Add(new AuthorClass() { ServerName = "064",RealName = " al takabon"});
                  ListAya.Add(new AuthorClass() { ServerName = "065",RealName = " al talak"});
                  ListAya.Add(new AuthorClass() { ServerName = "066",RealName = " al tahram"});
                  ListAya.Add(new AuthorClass() { ServerName = "067",RealName = " al molk"});
                  ListAya.Add(new AuthorClass() { ServerName = "068",RealName = " al kalam"});
                  ListAya.Add(new AuthorClass() { ServerName = "069",RealName = " al haka"});
                  ListAya.Add(new AuthorClass() { ServerName = "070",RealName = " al ma'-arj"});
                  ListAya.Add(new AuthorClass() { ServerName = "071",RealName = " nooh"});
                  ListAya.Add(new AuthorClass() { ServerName = "072",RealName = " al jn"});
                  ListAya.Add(new AuthorClass() { ServerName = "073",RealName = " a lmozamal"});
                  ListAya.Add(new AuthorClass() { ServerName = "074",RealName = " al modathar"});
                  ListAya.Add(new AuthorClass() { ServerName = "075", RealName =" al kyama"});
                  ListAya.Add(new AuthorClass() { ServerName = "076",RealName = " al ansan"});
                  ListAya.Add(new AuthorClass() { ServerName = "077",RealName = " al morasalat"});
                  ListAya.Add(new AuthorClass() { ServerName = "078",RealName = "  naba"});
                  ListAya.Add(new AuthorClass() { ServerName = "079",RealName = " al nazat"});
                  ListAya.Add(new AuthorClass() { ServerName = "080",RealName = " ab-as"});
                  ListAya.Add(new AuthorClass() { ServerName = "081",RealName = " al tkawer"});
                  ListAya.Add(new AuthorClass() { ServerName = "082",RealName = " a lanfatar"});
                  ListAya.Add(new AuthorClass() { ServerName = "083",RealName = " al motafafen"});
                  ListAya.Add(new AuthorClass() { ServerName = "084",RealName = " al anshkak"});
                  ListAya.Add(new AuthorClass() { ServerName = "085",RealName = " al brooj"});
                  ListAya.Add(new AuthorClass() { ServerName = "086",RealName = " al tarek"});
                  ListAya.Add(new AuthorClass() { ServerName = "087",RealName = " al ala"});
                  ListAya.Add(new AuthorClass() { ServerName = "088",RealName = " al kashay"});
                  ListAya.Add(new AuthorClass() { ServerName = "089",RealName = " al fajar"});
                  ListAya.Add(new AuthorClass() { ServerName = "090",RealName = " a lbalad"});
                  ListAya.Add(new AuthorClass() { ServerName = "091",RealName = " al shmas"});
                  ListAya.Add(new AuthorClass() { ServerName = "092",RealName = " al layl"});
                  ListAya.Add(new AuthorClass() { ServerName = "093",RealName = " al doha"});
                  ListAya.Add(new AuthorClass() { ServerName = "094",RealName = " al sharh"});
                  ListAya.Add(new AuthorClass() { ServerName = "095",RealName = " al ten"});
                  ListAya.Add(new AuthorClass() { ServerName = "096",RealName = " al alak"});
                  ListAya.Add(new AuthorClass() { ServerName = "097",RealName = " al kadar"});
                  ListAya.Add(new AuthorClass() { ServerName = "098",RealName = " al bayana"});
                  ListAya.Add(new AuthorClass() { ServerName = "099",RealName = " al zalzala"});
                  ListAya.Add(new AuthorClass() { ServerName = "100",RealName = " al adiyat"});
                  ListAya.Add(new AuthorClass() { ServerName = "101", RealName =" al karea"});
                  ListAya.Add(new AuthorClass() { ServerName = "102", RealName =" al takathor"});
                  ListAya.Add(new AuthorClass() { ServerName = "103",RealName = " al asar"});
                  ListAya.Add(new AuthorClass() { ServerName = "104",RealName = " al hamza"});
                  ListAya.Add(new AuthorClass() { ServerName = "105", RealName =" al feel"});
                  ListAya.Add(new AuthorClass() { ServerName = "106",RealName = " korash"});
                  ListAya.Add(new AuthorClass() { ServerName = "107", RealName =" al ma-on"});
                  ListAya.Add(new AuthorClass() { ServerName = "108", RealName =" al kaothar"});
                  ListAya.Add(new AuthorClass() { ServerName = "109", RealName =" al kafiron"});
                  ListAya.Add(new AuthorClass() { ServerName = "110", RealName =" al nasr"});
                  ListAya.Add(new AuthorClass() { ServerName = "111",RealName = " al msad"});
                  ListAya.Add(new AuthorClass() { ServerName = "112",RealName = " al aklas"});
                  ListAya.Add(new AuthorClass() { ServerName = "113", RealName =" al falak"});
                  ListAya.Add(new AuthorClass() { ServerName = "114", RealName =" al nas"});
              }
            ListBeginEndAya ListRange = new ListBeginEndAya();
            ListRange = managment.autherRanageDetermine(RealServerFolder);
            ListAyaRanage.Clear();
            IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication();

            for (int i = ListRange.beginR; i < ListRange.endread; i++)
            { 
                // check the file state
               // string transferFileName = "http://server" + managment.serverNumber(RealServerFolder) + ".mp3quran.net/" + RealServerFolder + "/" + ListAya[i].RealName + ".mp3";
                

            string[] files = isoStore.GetFileNames(RealServerFolder+ListAya[i].ServerName +".mp3");
                
                    if (files.Length>0)
                         
                        ListAyaRanage.Add(new AuthorClass() { ServerName = ListAya[i].ServerName, RealName = ListAya[i].RealName, StateName = avalible(), ImgUrl = "ImageSetting/img_btn_play.png" });
                    else
                        ListAyaRanage.Add(new AuthorClass() { ServerName = ListAya[i].ServerName, RealName = ListAya[i].RealName, StateName = disavalible(), ImgUrl = "ImageSetting/img_btn_play.png" });
                    

               

            

            }
        }
Exemplo n.º 2
0
        public static ListBeginEndAya autherRanageDetermine(String EnglishName)
        {
            ListBeginEndAya authLengther = new ListBeginEndAya();

            authLengther.beginR = 0;
            authLengther.endread = 114;

              if (EnglishName.Equals("saud"))
            {
                authLengther.beginR = 84;
                authLengther.endread = 114;
            }

            else if (EnglishName.Equals("akil"))
            {
                authLengther.beginR = 49;
                authLengther.endread = 56;
            }

            else if (EnglishName.Equals("IbrahemSadan"))
            {
                authLengther.beginR = 0;
                authLengther.endread = 20;
            }

            else if (EnglishName.Equals("jbreen"))
            {
                authLengther.beginR = 18;
                authLengther.endread = 114;
            }
            else if (EnglishName.Equals("jormy"))
            {
                authLengther.beginR = 39;
                authLengther.endread = 41;
            }

            else if (EnglishName.Equals("3siri"))
            {
                authLengther.beginR = 0;
                authLengther.endread = 75;
            }
            else if (EnglishName.Equals("zamri"))
            {
                authLengther.beginR = 2;
                authLengther.endread = 76;
            }
            else if (EnglishName.Equals("3zazi"))
            {
                authLengther.beginR = 57;
                authLengther.endread = 114;
            }

             else if (EnglishName.Equals("hamza"))
             {
    authLengther.beginR = 1;
                authLengther.endread = 114;

             }
             else if (EnglishName.Equals("sami_dosr"))
             {
                 authLengther.beginR = 28;
                 authLengther.endread = 114;

             }
             else if (EnglishName.Equals("brmi"))
             {
                 authLengther.beginR = 48;
                 authLengther.endread = 114;

             }
             else if (EnglishName.Equals("abo_hashim"))
             {
                 authLengther.beginR = 49;
                 authLengther.endread = 58;

             }
             else if (EnglishName.Equals("lafi"))
             {
                 authLengther.beginR = 29;
                 authLengther.endread = 114;

             }
             else if (EnglishName.Equals("zaml"))
             {
                 authLengther.beginR = 12;
                 authLengther.endread = 114;

             }
             else if (EnglishName.Equals("shaibat"))
             {
                 authLengther.beginR = 77;
                 authLengther.endread = 114;

             }
             else if (EnglishName.Equals("braak"))
             {
                 authLengther.beginR = 49;
                 authLengther.endread = 114;

             }


             else if (EnglishName.Equals("maher_m"))
             {
                 authLengther.beginR = 77;
                 authLengther.endread = 114;

             }
            return authLengther;


        }
Exemplo n.º 3
0
        public static ListBeginEndAya autherRanageDetermine(String EnglishName)
        {
            ListBeginEndAya authLengther = new ListBeginEndAya();

            authLengther.beginR  = 0;
            authLengther.endread = 114;

            if (EnglishName.Equals("saud"))
            {
                authLengther.beginR  = 84;
                authLengther.endread = 114;
            }

            else if (EnglishName.Equals("akil"))
            {
                authLengther.beginR  = 49;
                authLengther.endread = 56;
            }

            else if (EnglishName.Equals("IbrahemSadan"))
            {
                authLengther.beginR  = 0;
                authLengther.endread = 20;
            }

            else if (EnglishName.Equals("jbreen"))
            {
                authLengther.beginR  = 18;
                authLengther.endread = 114;
            }
            else if (EnglishName.Equals("jormy"))
            {
                authLengther.beginR  = 39;
                authLengther.endread = 41;
            }

            else if (EnglishName.Equals("3siri"))
            {
                authLengther.beginR  = 0;
                authLengther.endread = 75;
            }
            else if (EnglishName.Equals("zamri"))
            {
                authLengther.beginR  = 2;
                authLengther.endread = 76;
            }
            else if (EnglishName.Equals("3zazi"))
            {
                authLengther.beginR  = 57;
                authLengther.endread = 114;
            }

            else if (EnglishName.Equals("hamza"))
            {
                authLengther.beginR  = 1;
                authLengther.endread = 114;
            }
            else if (EnglishName.Equals("sami_dosr"))
            {
                authLengther.beginR  = 28;
                authLengther.endread = 114;
            }
            else if (EnglishName.Equals("brmi"))
            {
                authLengther.beginR  = 48;
                authLengther.endread = 114;
            }
            else if (EnglishName.Equals("abo_hashim"))
            {
                authLengther.beginR  = 49;
                authLengther.endread = 58;
            }
            else if (EnglishName.Equals("lafi"))
            {
                authLengther.beginR  = 29;
                authLengther.endread = 114;
            }
            else if (EnglishName.Equals("zaml"))
            {
                authLengther.beginR  = 12;
                authLengther.endread = 114;
            }
            else if (EnglishName.Equals("shaibat"))
            {
                authLengther.beginR  = 77;
                authLengther.endread = 114;
            }
            else if (EnglishName.Equals("braak"))
            {
                authLengther.beginR  = 49;
                authLengther.endread = 114;
            }


            else if (EnglishName.Equals("maher_m"))
            {
                authLengther.beginR  = 77;
                authLengther.endread = 114;
            }
            return(authLengther);
        }