// Constructor
 public cTiposVehiculos(AspNetMakerPage APage)
 {
     m_TableName = "TiposVehiculos";
     m_TableObjName = "TiposVehiculos";
     m_TableObjTypeName = "cTiposVehiculos";
     m_TableType = "TABLE";
     m_Page = APage;
     if (APage != null)
         m_ParentPage = APage.ParentPage;
     AllowAddDeleteRow = ew_AllowAddDeleteRow(); // Allow add/delete row
 }
Пример #2
0
        private cUsuarios UserTable; // ASPX81

        #endregion Fields

        #region Constructors

        // Constructor
        public cUserProfile(AspNetMakerPage APage)
        {
            m_Page = APage;
            m_ParentPage = APage.ParentPage;
            UserTable = Usuarios; // ASPX81
            InitProfile();
        }
 // Constructor
 public cRegistrosPeatones(AspNetMakerPage APage)
 {
     m_TableName = "RegistrosPeatones";
     m_TableObjName = "RegistrosPeatones";
     m_TableObjTypeName = "cRegistrosPeatones";
     m_TableType = "TABLE";
     m_Page = APage;
     if (APage != null)
         m_ParentPage = APage.ParentPage;
     AllowAddDeleteRow = ew_AllowAddDeleteRow(); // Allow add/delete row
 }
Пример #4
0
 // Constructor
 public cLanguage(AspNetMakerPage APage, string langfolder)
     : this(APage, langfolder, "")
 {
 }
Пример #5
0
        // Constructor
        public cLanguage(AspNetMakerPage APage, string langfolder, string langid)
        {
            m_Page = APage;
            m_ParentPage = APage.ParentPage;
            if (ew_NotEmpty(langfolder))
                LanguageFolder = langfolder;

            // Set up file list
            LoadFileList();

            // Set up language id
            if (ew_NotEmpty(langid)) { // Set up language id
                LanguageId = langid;
                ew_Session[EW_SESSION_LANGUAGE_ID] = LanguageId;
            } else if (ew_NotEmpty(ew_Get("language"))) {
                LanguageId = ew_Get("language");
                ew_Session[EW_SESSION_LANGUAGE_ID] = LanguageId;
            } else if (ew_NotEmpty(ew_Session[EW_SESSION_LANGUAGE_ID])) {
                LanguageId = Convert.ToString(ew_Session[EW_SESSION_LANGUAGE_ID]);
            }	else {
                LanguageId = EW_LANGUAGE_DEFAULT_ID;
            }
            gsLanguage = LanguageId;
            Load(LanguageId);
        }
Пример #6
0
 // Constructor
 public cLanguage(AspNetMakerPage APage)
     : this(APage, "", "")
 {
 }
Пример #7
0
        private cUpload m_Upload; // Upload Object

        #endregion Fields

        #region Constructors

        // Create new field object
        public cField(ref AspNetMakerPage APage, string atblvar, string atblname, string afldvar, string afldname, string afldexpression, int afldtype, SqlDbType aflddbtype, int aflddatatype, int aflddtformat, bool aforceselect, string afldviewtag)
        {
            m_Page = APage;
            m_ParentPage = APage.ParentPage;
            TblVar = atblvar;
            TblName = atblname;
            FldVar = afldvar;
            FldName = afldname;
            FldExpression = afldexpression;
            FldType = afldtype;
            FldDbType = aflddbtype;
            FldDataType = aflddatatype;
            FldDateTimeFormat = aflddtformat;
            FldForceSelection = aforceselect;
            FldViewTag = afldviewtag;
            ImageWidth = 0;
            ImageHeight = 0;
            Visible = true;
            Count = 0;
            Total = 0;
            Disabled = false;
            Sortable = true;
            TruncateMemoRemoveHtml = false;
            TooltipWidth = 0;
            FldIsVirtual = false;
        }
Пример #8
0
 // Constructor
 public cExportDocument(AspNetMakerPage APage, cTable tbl, string style)
 {
     m_Page = APage;
     m_ParentPage = APage.ParentPage;
     Table = tbl;
     ChangeStyle(style);
 }
 // Constructor
 public cHistoricoPeatones(AspNetMakerPage APage)
 {
     m_TableName = "HistoricoPeatones";
     m_TableObjName = "HistoricoPeatones";
     m_TableObjTypeName = "cHistoricoPeatones";
     m_TableType = "CUSTOMVIEW";
     m_Page = APage;
     if (APage != null)
         m_ParentPage = APage.ParentPage;
     AllowAddDeleteRow = ew_AllowAddDeleteRow(); // Allow add/delete row
 }
 // Constructor
 public cz_RegistroVehiculo(AspNetMakerPage APage)
 {
     m_TableName = "_RegistroVehiculo";
     m_TableObjName = "z_RegistroVehiculo";
     m_TableObjTypeName = "cz_RegistroVehiculo";
     m_TableType = "CUSTOMVIEW";
     m_Page = APage;
     if (APage != null)
         m_ParentPage = APage.ParentPage;
     AllowAddDeleteRow = ew_AllowAddDeleteRow(); // Allow add/delete row
 }