Ejemplo n.º 1
0
 private void proccessAdminParent(AdminUC adminUc)
 {
     if (adminUc != null && adminUc.theSession.IsAdmin && adminUc.theSession.IsAuthenticated)
     {
         this.theSession = adminUc.theSession;
         this.verifyAdminButtonsMainState();
     }
 }
Ejemplo n.º 2
0
        private void displayNewAdmin()
        {
            var adminUc = new AdminUC(this.createNewDataGridView(), this.loginSession);

            this.userControlStack.Add(adminUc);

            this.addUCToDisplay(adminUc);
        }
Ejemplo n.º 3
0
 private void proccessAdminParent(AdminUC adminUc)
 {
     if (adminUc != null && adminUc.theSession.IsAdmin && adminUc.theSession.IsAuthenticated)
     {
         this.theSession = adminUc.theSession;
         this.verifyAdminButtonsMainState();
     }
 }