public fMemberManagement(Form f, atriumBE.atriumManager atMng) : base(f) { InitializeComponent(); try { myAtMng = atMng; myMemMng = myAtMng.GetMemberMng(); myMemMng.LoadTribunalMemberAssignment(); myMemMng.LoadFileFlagVC(); tribunalMemberWorkloadBindingSource.DataSource = myMemMng.LoadTribunalMemberWorkload(); tribunalMemberAssignmentBindingSource.DataSource = myMemMng.DB.TribunalMemberAssignment; updateTribunalMemberAssignmentCounter(); mListAssignmentFilter = myMemMng.LoadMemberListAssignmentFilter(); maxDistance = Convert.ToInt32(maxDistanceEditBox.Text); FM = myAtMng.GetFile(); atLogic.WhereClause wc = new atLogic.WhereClause(); wc.Add("FlagCode", "<>", "ABEY"); UIHelper.ComboBoxInit(FM.Codes("vFlagCode", wc, true), FlagCodeMultiDropDown, FM); InitCombos(); } catch (Exception x) { UIHelper.HandleUIException(x); } }
public void Init(atriumBE.FileManager fm, fFile parentFile) { fmCurrent = fm; Atmng = fm.AtMng; ParentFile = parentFile; fileId = fm.CurrentFile.FileId; if (UIHelper.getScalingFactor() > 1) { tvContents.ItemHeight = tvContents.ItemHeight + 2; } //JLL 2015-08-30 higher dpi setting handling //defaultTopHeight = UIHelper.AdjustHeightInt(this, defaultTopHeight); //defaultRowHeight = UIHelper.AdjustHeightInt(this, defaultRowHeight); //END JLL 2015-08-30 // WI 75873 if (fm.GetSSTMng() != null && !fm.CurrentFile.IsDim2IdNull()) { programId = fm.CurrentFile.Dim2Id; } // -- end // WI 75873 fm.EFile.OnUpdate += new atLogic.UpdateEventHandler(EFile_OnUpdate); fm.GetFileXRef().OnUpdate += new atLogic.UpdateEventHandler(ucToC_OnUpdate); LoadTOC(); }
public ActionResult Contact() { atriumBE.atriumManager atmng = Helper.Atmng(); ViewBag.Message = "Your contact page."; return(View()); }
public ActionResult About() { atriumBE.atriumManager atmng = Helper.Atmng(); ViewBag.Message = "Your application description page."; return(View()); }
public ActionResult ReloadConfig() { atriumBE.atriumManager atmng = Helper.Atmng(); atmng.acMng.LoadAllConfigInfo(); atmng.LoadDDInfo(); return(RedirectToAction("Index", "Search")); }
public static string TranlateLabel(this System.Web.Mvc.HtmlHelper helper, atriumBE.atriumManager Atmng, string EngLabel, string FreLabel) { if (Atmng == null || Atmng.AppMan.Language.ToUpper() == "ENG") { return(EngLabel); } else { return(FreLabel); } }
public ActionResult Lang() { atriumBE.atriumManager atmng = Helper.Atmng(); if (atmng.AppMan.Language.ToUpper() == "ENG") { atmng.AppMan.Language = "FRE"; } else { atmng.AppMan.Language = "ENG"; } return(RedirectToAction("Login", "Home")); }
public ActionResult ChangePassword(string oldPassword, string newPassword, string confPassword) { try { if (newPassword != confPassword) { throw new Exception("Password does not match."); } atriumBE.atriumManager atmng = Helper.Atmng(); lmDatasets.SecurityDB.secUserRow sur = atmng.SecurityManager.CurrentUser; atmng.SecurityManager.GetsecUser().ChangeSQLPassword(sur, newPassword, oldPassword); return(RedirectToAction("Index", "Search")); } catch (Exception x) { ViewBag.Error = x.Message; return(View()); } }