Ejemplo n.º 1
0
        public NavTaskView(NavTaskTable navTask) : base(navTask)
        {
            var answerEntry = new TaskNumberPicker();

            answerEntry.TextChanged += AnswerEntryChanged;

            CodeToUnlock     = navTask.CodeToComplete;
            AnswerLabel.Text = string.Empty;
            AnswerAndReturnButton.IsVisible = false;

            Children.Add(answerEntry);
        }
Ejemplo n.º 2
0
        public NavTaskView(NavTaskTable navTask)
            : base(navTask)
        {
            var answerEntry = new TaskNumberPicker ();
            answerEntry.TextChanged += AnswerEntryChanged;

            CodeToUnlock = navTask.CodeToComplete;
            AnswerLabel.Text = string.Empty;
            AnswerAndReturnButton.IsVisible = false;

            Children.Add (answerEntry);
        }
Ejemplo n.º 3
0
        public LockView(int id, int unlockCode)
        {
            var kernel = new StandardKernel ();
            _db = kernel.Get<DatabaseHelper> ();

            AnswerEntry = new TaskNumberPicker ();
            AnswerEntry.TextChanged += AnswerEntered;

            TaskId = id;
            UnlockCode = unlockCode;

            Children.Add (AnswerEntry);
        }
Ejemplo n.º 4
0
        public LockView(int id, int unlockCode)
        {
            var kernel = new StandardKernel();

            _db = kernel.Get <DatabaseHelper> ();

            AnswerEntry              = new TaskNumberPicker();
            AnswerEntry.TextChanged += AnswerEntered;

            TaskId     = id;
            UnlockCode = unlockCode;

            Children.Add(AnswerEntry);
        }