Пример #1
0
        public AdminProfile(String id, MainView mv, AdminsPage al)
        {
            InitializeComponent();
            myId    = id;
            this.mv = mv;

            //create object of AdminActivitylogs
            this.all = new Admin.AdminActivityLog(al, mv, id, true);
        }
Пример #2
0
 private void InitUserControls()
 {
     home              = new HomePageView(this);
     peopleInPageView  = new PeopleInPageView();
     allPeoplePageView = new AllPeoplePageView(this);
     readers           = new ReadersPage();
     cameraView        = new CameraView(this);
     admins            = new AdminsPage(adminId, this);
     adminProfile      = new AdminProfile(adminId, this, admins);
 }