예제 #1
0
        public static void navigateToLoginForm(Form currentForm)
        {
            var loginForm = UIRepository.LoginForm();

            loginForm.Show();
            currentForm.Hide();
        }
예제 #2
0
        public static void navigateToSignUpForm(Form currentForm)
        {
            var signUpForm = UIRepository.SignUpForm();

            signUpForm.Show();
            currentForm.Hide();
        }
예제 #3
0
        public static void navigateToDashBoardForm(Form currentForm)
        {
            var dashBoardForm = UIRepository.DashBoardForm();

            dashBoardForm.Show();
            currentForm.Hide();
            dashBoardForm.loadForm();
        }
예제 #4
0
        public void loadForm()
        {
            mPresenter.onLoadForm();
            var choresPanel = UIRepository.HomePanel();

            this.contentPanel = choresPanel;
            swapContentPanel(choresPanel);
            showSelection();
        }
예제 #5
0
        public static void openAppliedWorkersDialog(JobPost jobPost, JobPostDetailDelegate jobPostDetailDelegate)
        {
            var dialog = UIRepository.AppliedWorkersDialog(jobPost, jobPostDetailDelegate);

            dialog.ShowDialog();
        }
예제 #6
0
        public static void navigateToHistory()
        {
            var dashBoardForm = UIRepository.DashBoardForm();

            dashBoardForm.swapContentPanel(UIRepository.HistoryPanel());
        }
예제 #7
0
        public static void navigateToJobDetail(string postId)
        {
            var dashBoardForm = UIRepository.DashBoardForm();

            dashBoardForm.swapContentPanel(UIRepository.JobPostDetail(postId));
        }
예제 #8
0
        public static void navigateToAddPostScreen()
        {
            var dashBoardForm = UIRepository.DashBoardForm();

            dashBoardForm.swapContentPanel(UIRepository.AddJobPanel());
        }
예제 #9
0
        public static void navigateToMyChores()
        {
            var dashBoardForm = UIRepository.DashBoardForm();

            dashBoardForm.swapContentPanel(UIRepository.MyChoresPanel());
        }
예제 #10
0
        public static void navigateToHomeScreen()
        {
            var dashBoardForm = UIRepository.DashBoardForm();

            dashBoardForm.swapContentPanel(UIRepository.HomePanel());
        }