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

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

Administration support class for Fixed Telecommunications Network (FTN) web application (Intranet) model.

    1: using System.IO;
    2:  
    3: namespace Ia.Ftn.Wa.Models.Data
    4: {
    5:     ////////////////////////////////////////////////////////////////////////////
    6:  
    7:     /// <summary publish="true">
    8:     /// Administration support class for Fixed Telecommunications Network (FTN) web application (Intranet) model.
    9:     /// </summary>
   10:     /// 
   11:     /// <remarks> 
   12:     /// Copyright © 2006-2017 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
   13:     /// </remarks> 
   14:     public class Administration
   15:     {
   16:         ////////////////////////////////////////////////////////////////////////////
   17:  
   18:         /// <summary>
   19:         ///
   20:         /// </summary>
   21:         public Administration()
   22:         {
   23:         }
   24:  
   25:         ////////////////////////////////////////////////////////////////////////////
   26:  
   27:         /// <summary>
   28:         ///
   29:         /// </summary>
   30:         public static string FieldTnmdSupplierWorkorderPaperFormHtml
   31:         {
   32:             get
   33:             {
   34:                 string formText, path;
   35:  
   36:                 path = Ia.Cl.Models.Default.AbsolutePath() + @"app_data\administration\field-tnmd-supplier-workorder-paper-form.html";
   37:  
   38:                 if (File.Exists(path))
   39:                 {
   40:                     formText = File.ReadAllText(path);
   41:                 }
   42:                 else formText = string.Empty;
   43:  
   44:                 return formText;
   45:             }
   46:         }
   47:  
   48:         ////////////////////////////////////////////////////////////////////////////
   49:  
   50:         /// <summary>
   51:         ///
   52:         /// </summary>
   53:         public static string FieldTnmdSupplierWorkorderEmailFormText
   54:         {
   55:             get
   56:             {
   57:                 string formText, path;
   58:  
   59:                 path = Ia.Cl.Models.Default.AbsolutePath() + @"app_data\administration\field-tnmd-supplier-workorder-email-form.txt";
   60:  
   61:                 if (File.Exists(path))
   62:                 {
   63:                     formText = File.ReadAllText(path);
   64:                 }
   65:                 else formText = string.Empty;
   66:  
   67:                 return formText;
   68:             }
   69:         }
   70:  
   71:         ////////////////////////////////////////////////////////////////////////////
   72:         ////////////////////////////////////////////////////////////////////////////   
   73:     }
   74:  
   75:     ////////////////////////////////////////////////////////////////////////////
   76:     ////////////////////////////////////////////////////////////////////////////   
   77: }