public void UpdateMajor(bool?isAdd = null) { if (isAdd.HasValue) { if (isAdd.Value) { ++todoVersion.Major; } else { --todoVersion.Major; } } majorView.SetText(todoVersion.Major.ToString()); }
public QuestionView <T> SetContext(string text) { contextLabel.SetText(text); contextLabel.Show(); return(this); }
public QuestionView <T> SetTitle(string text) { titleLabel.SetText(text); return(this); }