Esempio n. 1
0
        private void usersTool_Click(object sender, EventArgs e)
        {
            ManagefrmView(usersTool, panelUsers);

            var frmAdminList = new frmAdminList(adminDto.Id);

            frmAdminList.TopLevel        = false;
            frmAdminList.AutoScroll      = true;
            frmAdminList.FormBorderStyle = FormBorderStyle.None;
            panelUsers.Controls.Add(frmAdminList);

            frmAdminList.Show();
        }
Esempio n. 2
0
        private void usersToolStripMenuItem_Click(object sender, EventArgs e)
        {
            panelUsers.Visible    = true;
            panelCategory.Visible = false;
            panelSettings.Visible = false;
            panelBrand.Visible    = false;
            panelProduct.Visible  = false;

            var frmAdminList = new frmAdminList();

            frmAdminList.TopLevel        = false;
            frmAdminList.AutoScroll      = true;
            frmAdminList.FormBorderStyle = FormBorderStyle.None;
            panelUsers.Controls.Add(frmAdminList);

            frmAdminList.Show();
        }