Ejemplo n.º 1
0
        public UserWindow()
        {
            InitializeComponent();
            ApplicationDesign.btnSubMenuObject = btnChangePw;
            object o = (object)btnChangePw;

            ApplicationDesign.SetSubButtonDesign(ref o);
        }
Ejemplo n.º 2
0
        private void btnEditPermition_Click(object sender, EventArgs e)
        {
            ApplicationDesign.SetSubButtonDesign(ref sender);
            PermissionWindows permissionWindows = new PermissionWindows();

            permissionWindows.TopLevel        = false;
            permissionWindows.FormBorderStyle = FormBorderStyle.None;

            pnlWindow.Controls.Clear();
            pnlWindow.Controls.Add(permissionWindows);
            permissionWindows.Show();
        }
Ejemplo n.º 3
0
        private void btnCreateUser_Click(object sender, EventArgs e)
        {
            ApplicationDesign.SetSubButtonDesign(ref sender);
            CreateUser frmCreateUser = new CreateUser();

            frmCreateUser.TopLevel        = false;
            frmCreateUser.FormBorderStyle = FormBorderStyle.None;

            pnlWindow.Controls.Clear();
            pnlWindow.Controls.Add(frmCreateUser);
            frmCreateUser.Show();
        }
Ejemplo n.º 4
0
        private void btnChangePw_Click(object sender, EventArgs e)
        {
            ApplicationDesign.SetSubButtonDesign(ref sender);

            ChangePasswoerd frmChangePasswoerd = new ChangePasswoerd();

            frmChangePasswoerd.TopLevel        = false;
            frmChangePasswoerd.FormBorderStyle = FormBorderStyle.None;

            pnlWindow.Controls.Clear();
            pnlWindow.Controls.Add(frmChangePasswoerd);
            frmChangePasswoerd.Show();
        }