public ClsLookup(ClsCurrentUser CurrentUser, String TableName, String ViewName, Int64 LookupID) { this.mLookupID = LookupID; if (this.mLookupID != 0) { TableName = "Lookup_Details"; ViewName = ""; } base.Setup(CurrentUser, TableName, ViewName); }
public static void SetupApp(ClsCurrentUser CurrentUser) { Layer03_Common.Dt_System_Modules = Do_Methods_Query.GetQuery( "System_Modules" , "" , "IsNull(IsHidden,0) <> 1" , "Parent_System_ModulesID, OrderIndex"); Layer03_Common.Dt_System_Modules_Access = Do_Methods_Query.GetQuery("uvw_System_Modules_AccessLib"); Layer03_Common.CurrentUser = CurrentUser; }
protected virtual void Setup(ClsCurrentUser CurrentUser, string TableName, string ViewName ="") { base.Setup(TableName, ViewName); this.mCurrentUser = CurrentUser; }
public ClsRowProperty(ClsCurrentUser pCurrentUser = null) { this.Setup(pCurrentUser, "RowProperty"); }
protected virtual void Setup(ClsCurrentUser CurrentUser, string TableName, string ViewName = "", QueryCondition Qc_LoadCondition = null, List<string> CustomKeys = null) { base.Setup(TableName, ViewName, Qc_LoadCondition, CustomKeys); this.mCurrentUser = CurrentUser; }
public ClsDamit(ClsCurrentUser CurrentUser) { this.Setup(CurrentUser, "Damit", "uvw_Damit"); }
public ClsPinalaba(ClsCurrentUser CurrentUser) { this.Setup(CurrentUser, "Pinalaba", "uvw_Pinalaba"); this.Setup_AddTableDetail("Pinalaba_Damit", "uvw_Pinalaba_Damit"); }
void SetupForm() { Layer03_Common.CurrentUser = FrmMain_Mayari.Show(this); this.mCurrentUser = Layer03_Common.CurrentUser; if (!this.mCurrentUser.pIsLoggedIn) { this.Close(); return; } //[-] Layer03_Common.SetupApp(this.mCurrentUser); //[-] this.Tv_Modules.Nodes.Clear(); this.mDt_Modules = Layer03_Common.Dt_System_Modules.Clone(); this.mCurrentModuleKey = 0; this.GetMenus(this.mCurrentModuleKey); //[-] this.Lbl_Mayari.Text = @"May-Ari: " + Do_Methods.Convert_String(this.mCurrentUser.pDr_Mayari["Name"]); //[-] this.WindowState = FormWindowState.Maximized; this.Visible = true; }
protected override void Setup(ClsCurrentUser pCurrentUser, string pTableName = "", string pViewName = "") { base.Setup(pCurrentUser, pTableName, pViewName); this.mObj_RowProperty = new ClsRowProperty(this.mCurrentUser); }
public ClsMayari(ClsCurrentUser CurrentUser) { this.Setup(CurrentUser, "Mayari", "uvw_Mayari"); }