Exemplo n.º 1
0
        private void ButtonMenuHome_Click(object sender, RoutedEventArgs e)
        {
            HomePageView home = new HomePageView();

            MenuPage.Content = home;
            lblTitle.Content = "HOME";
        }
Exemplo n.º 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);
 }
Exemplo n.º 3
0
        public MainView()
        {
            InitializeComponent();

            ButtonOpenMenu.Visibility  = Visibility.Visible;
            ButtonCloseMenu.Visibility = Visibility.Collapsed;

            lblTitle.Content = "HOME";

            Mouse.OverrideCursor = Cursors.Wait;
            try
            {
                HomePageView home = new HomePageView();
                MenuPage.Content = home;
                CheckStreamProcessorStatus();
            }
            finally
            {
                Mouse.OverrideCursor = null;
            }
        }