)>}]
شركة التطبيقات المتكاملة لتصميم وبرمجة البرمجيات الخاصة ش.ش.و.
Integrated Applications Programming Company
Home » Code Library » ServiceAndroidApplicationTrekCountry (Ia.Ftn.Wa.Models.Ui)

Public general use code classes and xml files that we've compiled and used over the years:

    1:  
    2: namespace Ia.Ftn.Wa.Models.Ui
    3: {
    4:     ////////////////////////////////////////////////////////////////////////////
    5:  
    6:     /// <summary publish="true">
    7:     ///
    8:     /// </summary>
    9:     /// 
   10:     /// <remarks> 
   11:     /// Copyright © 2006-2025 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
   12:     /// </remarks> 
   13:     public class ServiceAndroidApplicationTrekCountry
   14:     {
   15:         /// <summary/>
   16:         public string Iso3 { get; set; }
   17:  
   18:         /// <summary/>
   19:         public string ApplicationNameDictionaryEnglish { get; set; }
   20:  
   21:         /// <summary/>
   22:         public string ApplicationUrl { get; set; }
   23:  
   24:         /// <summary/>
   25:         public string HiResIconImageUrl { get; set; }
   26:  
   27:         /*
   28:         ////////////////////////////////////////////////////////////////////////////
   29: 
   30:         /// <summary>
   31:         ///
   32:         /// </summary>
   33:         public static void Repeater_ItemDataBound(System.Web.UI.Page page, object sender, RepeaterItemEventArgs e)
   34:         {
   35:             ListItemType itemType = e.Item.ItemType;
   36: 
   37:             if (itemType == ListItemType.Item || itemType == ListItemType.AlternatingItem)
   38:             {
   39:                 Ia.Ftn.Wa.Model.Ui.ServiceAndroidApplicationTrekCountry country = (Ia.Ftn.Wa.Model.Ui.ServiceAndroidApplicationTrekCountry)e.Item.DataItem;
   40: 
   41:                 for (int i = 0; i < e.Item.Controls.Count; i++)
   42:                 {
   43:                     try
   44:                     {
   45:                         if (e.Item.Controls[i].GetType().ToString() == "System.Web.UI.WebControls.Label")
   46:                         {
   47:                             Label l = (Label)e.Item.Controls[i];
   48: 
   49:                             if (l.ID == "applicationNameDictionaryEnglishLabel") l.Text = country.ApplicationNameDictionaryEnglish;
   50:                         }
   51:                         else if (e.Item.Controls[i].GetType().ToString() == "System.Web.UI.WebControls.HyperLink")
   52:                         {
   53:                             System.Web.UI.WebControls.HyperLink hl = (System.Web.UI.WebControls.HyperLink)e.Item.Controls[i];
   54: 
   55:                             if (hl.ID == "hyperLink")
   56:                             {
   57:                                 hl.NavigateUrl = country.ApplicationUrl;
   58:                                 hl.ImageUrl = country.HiResIconImageUrl;
   59: 
   60:                                 hl.Text = country.ApplicationNameDictionaryEnglish;
   61:                             }
   62:                             else if (hl.ID == "applicationNameDictionaryEnglishHyperLink")
   63:                             {
   64:                                 hl.NavigateUrl = country.ApplicationUrl;
   65: 
   66:                                 hl.Text = country.ApplicationNameDictionaryEnglish;
   67:                             }
   68:                         }
   69:                     }
   70:                     catch { }
   71:                 }
   72:             }
   73:         }
   74:         */
   75:  
   76:         ////////////////////////////////////////////////////////////////////////////
   77:         ////////////////////////////////////////////////////////////////////////////
   78:     }
   79: }