protected void Page_Load(object sender, EventArgs e) { string referer = Request.UrlReferrer.ToString(); ButtonGenerate button = new ButtonGenerate(); button.createReturn(referer); DynButton.Text = button.getButton(); button.createHomeUser(); DynButton2.Text = button.getButton(); }
protected void Page_Load(object sender, EventArgs e) { string referer = Request.UrlReferrer.ToString(); ButtonGenerate button = new ButtonGenerate(); button.createReturn(referer); DynButton.Text = button.getButton(); button.createHomeAdmin(); DynButton2.Text = button.getButton(); SessionObject userObject = (SessionObject)HttpContext.Current.Session["ID"]; Msg.Text = userObject.getAdminUserNameSelected(); }
protected void Page_Load(object sender, EventArgs e) { ButtonGenerate button = new ButtonGenerate(); button.createDisconnect(); DynButton.Text = button.getButton(); }
protected void Page_Load(object sender, EventArgs e) { string referer = Request.UrlReferrer.ToString(); ButtonGenerate button = new ButtonGenerate(); button.createReturn(referer); DynButton.Text = button.getButton(); button.createHomeAdmin(); DynButton2.Text = button.getButton(); userObject = (SessionObject)HttpContext.Current.Session["ID"]; userManager = new UserManager(userObject.connector); list = userManager.GetUserList(); foreach (string listdisplay in list) { UserList.Items.Add(listdisplay.Substring(0, listdisplay.IndexOf(":"))); } }
protected void Page_Load(object sender, EventArgs e) { string referer = Request.UrlReferrer.ToString(); ButtonGenerate button = new ButtonGenerate(); button.createReturn(referer); DynButton.Text = button.getButton(); button.createHomeAdmin(); DynButton2.Text = button.getButton(); userObject = (SessionObject)HttpContext.Current.Session["ID"]; commandManager = new CommandManager(userObject.getAdminUserIdSelected(), userObject.connector); //commands.Clear(); commands = commandManager.getCommandList(); //CheckBoxList1.Items.Clear(); foreach (string s in commands) { CheckBoxList1.Items.Add(s); } }
protected void Page_Load(object sender, EventArgs e) { string referer = Request.UrlReferrer.ToString(); ButtonGenerate button = new ButtonGenerate(); button.createReturn(referer); DynButton.Text = button.getButton(); button.createHomeUser(); DynButton2.Text = button.getButton(); SessionObject userObject = (SessionObject)HttpContext.Current.Session["ID"]; commandManager = new CommandManager(Int32.Parse(userObject.getUserID()), userObject.connector); List <string> list = commandManager.getCommandList(); foreach (string listdisplay in list) { CheckBoxList2.Items.Add(listdisplay); } }
protected void Page_Load(object sender, EventArgs e) { string referer = Request.UrlReferrer.ToString(); ButtonGenerate button = new ButtonGenerate(); button.createReturn(referer); DynButton.Text = button.getButton(); SessionObject userObject = (SessionObject)HttpContext.Current.Session["ID"]; CommandManager commandManager = new CommandManager(userObject.getAdminUserIdSelected(), userObject.connector); //Remplacer par l'historique (historyCommandList) List <string> commandList = commandManager.getHistoryList(); foreach (string s in commandList) { Msg.Text += s + "<br>"; } }