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); }
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); }
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); }
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); }