protected void Page_Load(object sender, EventArgs e)
        {
            ButtonGenerate button = new ButtonGenerate();

            button.createDisconnect();
            DynButton.Text = button.getButton();
        }
예제 #2
0
        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)
        {
            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(":")));
            }
        }
예제 #5
0
        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>";
            }
        }
예제 #6
0
        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();



            SessionObject  userObject     = (SessionObject)HttpContext.Current.Session["ID"];
            CommandManager commandManager = new CommandManager(Int32.Parse(userObject.getUserID()), userObject.connector);

            List <string> list = commandManager.getHistoryList();

            foreach (string listdisplay in list)
            {
                Msg.Text += listdisplay + "<br>";
            }
        }
예제 #8
0
 public MainForm()
 {
     InitializeComponent();
     StartPosition = FormStartPosition.CenterScreen;
     ButtonGenerate.Select();
 }