Ejemplo n.º 1
0
 public PlayerViewDailyGoals()
 {
     this.InitializeComponent();
     _signInFlow       = ProgramContainer.container.GetInstance <ISignInFlow>();
     _IProgressFetcher = ProgramContainer.container.GetInstance <IProgressFetcher>();
     _IGoalsHandler    = ProgramContainer.container.GetInstance <IGoalsHandler>();
     InitAllProgressBars(inner, DateTime.Now, 0);
 }
 public CoachViewPlayerWeeklyGoals()
 {
     this.InitializeComponent();
     _signInFlow        = ProgramContainer.container.GetInstance <ISignInFlow>();
     _IProgressFetcher  = ProgramContainer.container.GetInstance <IProgressFetcher>();
     _IGoalsHandler     = ProgramContainer.container.GetInstance <IGoalsHandler>();
     _ICoachPlayersPage = ProgramContainer.container.GetInstance <ICoachPlayersPage>();
     player             = (_ICoachPlayersPage.GetPlayers())[Coach_View_Players.Tag];
     InitAllProgressBars(inner, DateTime.Now, 0);
 }
        public NewUnassignedPlayerSeeGoals()
        {
            this.InitializeComponent();
            _IProgressFetcher = ProgramContainer.container.GetInstance <IProgressFetcher>();
            _signInFlow       = ProgramContainer.container.GetInstance <ISignInFlow>();
            _IGoalsHandler    = ProgramContainer.container.GetInstance <IGoalsHandler>();

            player = _signInFlow.GetPlayer();

            welcome.Text = $"OK {player.FirstName}, these are the goals your coach assigned you!";
            InitAllProgressBars(null, null);
        }
Ejemplo n.º 4
0
 public BalanceUpdater(IBalanceHandler balanceHandler, IProgressFetcher progressFetcher, IGoalsRepository goalsRepository)
 {
     _balanceHandler  = balanceHandler;
     _progressFetcher = progressFetcher;
     _goalsRepository = goalsRepository;
 }