private void settingsTool_Click(object sender, EventArgs e)
        {
            ManagefrmView(settingsTool, panelSettings);

            var frmSettings = new frmSettings(adminDto.Id, adminDto.UserName);

            frmSettings.TopLevel        = false;
            frmSettings.AutoScroll      = true;
            frmSettings.FormBorderStyle = FormBorderStyle.None;
            panelSettings.Controls.Add(frmSettings);

            frmSettings.Show();
        }
        private void settingsTool_Click(object sender, EventArgs e)
        {
            panelSettings.Visible = true;
            panelUsers.Visible    = false;
            panelCategory.Visible = false;
            panelBrand.Visible    = false;
            panelProduct.Visible  = false;

            var frmSettings = new frmSettings(adminDto.Id, adminDto.UserName);

            frmSettings.TopLevel        = false;
            frmSettings.AutoScroll      = true;
            frmSettings.FormBorderStyle = FormBorderStyle.None;
            panelSettings.Controls.Add(frmSettings);

            frmSettings.Show();
        }