Exemple #1
0
        public void initialize(Bookstore b)
        {
            navigation = new BookstoreNavFunctions(this);
            //uclog = new UserControlLogin(b, navigation);
            //ucreg = new UserControlRegister(b, navigation);
            ucAcc = new UserControlAccount(b, navigation);
            //ucShCategs = new UserControlShowCategs(b, navigation);
            //ucEditCategs = new UserControlEditCategs(b, navigation);
            ucSea         = new UserControlSearch(b, navigation);
            funEditCategs = b;
            navEditCategs = navigation;
            showCategs    = b;
            navShowCategs = navigation;
            funLogin      = b;
            navLogin      = navigation;
            funRegister   = b;
            navRegister   = navigation;

            this.Controls.Clear();
            this.Controls.Add(new UserControlLogin(b, navigation));
            this.Refresh();
        }
 public GUIManager(UserControlAccount own)
 {
     owner  = own;
     memory = new typeOfLastList();
     setBought();
 }