private void initFields() { Error = new NotificationField <string>(); Username = new StringInputField(nameof(Username), 4, 32); Password = new StringInputField(nameof(Password), 8, 32); ConfirmPassword = new StringInputField(nameof(ConfirmPassword), 8, 32); }
private void initFields() { Rating = new DoubleInputField("Rating", 0, 5); Text = new StringInputField("Text", 0, 256); Rating.Value = Base.Rating.ToString(); Text.Value = Base.Text; }
private void initFields() { Tags = new NotificationField <List <SimpleTagViewModel> >(); Artist = new StringInputField("Artist", 1, 64); Album = new StringInputField("Album", 1, 64); AddTag = new StringInputField("AddTag", 1, 64); }
private void initFields() { Error = new NotificationField <string>(); Message = new NotificationField <string>(); Password = new StringInputField(nameof(Password), 8, 32); NewPassword = new StringInputField(nameof(NewPassword), 8, 32); ConfirmNewPassword = new StringInputField(nameof(ConfirmNewPassword), 8, 32); }
private void initFields(TagModel model) { Name = new StringInputField("Name", 1, 32); Type = new StringInputField("Type", 1, 32); Name.Value = model.Name; Type.Value = model.Type; }
private void initFields() { Name = new StringInputField("Name", 0, 32); Album = new StringInputField("Album", 0, 32); Artist = new StringInputField("Artist", 0, 32); BPM = new IntInputField("BPM", 20, 300); BeatNum = new IntInputField("Number of Beats", 1, 32); BeatType = new BeatTypeInputField("Beat Type", new int[] { 2, 4, 8, 16, 32 }); }
private void initFields(SongModel model) { Artist = new StringInputField("Artist", 0, 32); Album = new StringInputField("Album", 0, 32); AddTag = new StringInputField("Added Tag Name", 0, 32); Tags = new NotificationField <List <SimpleTagViewModel> >(); Artist.Value = model.Artist; Album.Value = model.Album; Tags.Value = Base.CreateTagList(); }
private void initFields() { Error = new NotificationField <string>(); Username = new StringInputField("Username", 4, 32); Password = new StringInputField("Password", 8, 32); }
public SimpleSearchBar() { Name = new StringInputField("Name", 0, 32); SearchCommand = new RelayCommand(handleSearch); AdvancedCommand = new RelayCommand(handleAdvancedSearch); }
private void initFields() { Name = new StringInputField("Name", 4, 32); Pasword = new StringInputField("Password", 6, 32); IsAdmin = new NotificationField <bool>(); }
private void initFields() { Name = new StringInputField("Name", 1, 64); Type = new StringInputField("Type", 1, 64); UpdateType = new StringInputField("Type", 1, 64); }
private void initFields(UserModel model) { Type = new StringInputField("Type", 1, 32); Type.Value = model.Type.ToString(); }