Пример #1
0
        private void ButtonMenuHome_Click(object sender, RoutedEventArgs e)
        {
            HomePageView home = new HomePageView();

            MenuPage.Content = home;
            lblTitle.Content = "HOME";
        }
Пример #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);
 }
Пример #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;
            }
        }