コード例 #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());
        }