Exemplo n.º 1
0
        private void JumptoScreening(LocalModels.Client addedClient)
        {
            ScreeningHome newPage = new ScreeningHome(addedClient.IDNo, addedClient);
            var           a       = Application.Current.MainWindow.FindName("pageTransitionControl") as PageTransition;

            a.ShowPage(newPage);
        }
Exemplo n.º 2
0
        private void btnScreening_Click(object sender, RoutedEventArgs e)
        {
            //AddNewClient home = new AddNewClient();
            ScreeningHome home = new ScreeningHome();

            pageTransitionControl.ShowPage(home);
            //Change Background
            btnNewClient.Background = Brushes.White;
            btnScreening.Background = Brushes.LightGray;
            btnFollowUp.Background  = Brushes.White;
            button_Copy2.Background = Brushes.White;
        }