Example #1
0
 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()
 {
     Tags   = new NotificationField <List <SimpleTagViewModel> >();
     Artist = new StringInputField("Artist", 1, 64);
     Album  = new StringInputField("Album", 1, 64);
     AddTag = new StringInputField("AddTag", 1, 64);
 }
Example #3
0
 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);
 }
Example #4
0
        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();
        }
Example #5
0
 private void initFields()
 {
     Error    = new NotificationField <string>();
     Username = new StringInputField("Username", 4, 32);
     Password = new StringInputField("Password", 8, 32);
 }
Example #6
0
 private void initFields()
 {
     Mode       = new NotificationField <MainViewMode>(handleViewModeChanged);
     PopMode    = new NotificationField <PopupViewMode>(handlePopupViewModeChanged);
     PopVisible = new NotificationField <Visibility>();
 }
Example #7
0
 private void initFields()
 {
     Name    = new StringInputField("Name", 4, 32);
     Pasword = new StringInputField("Password", 6, 32);
     IsAdmin = new NotificationField <bool>();
 }
Example #8
0
 private void initFields()
 {
     Mode    = new NotificationField <LoginMode>(handleViewModeChanged);
     Visible = new NotificationField <Visibility>();
 }
 private void initFields()
 {
     LoggedIn      = new NotificationField <bool>();
     LoggedInAdmin = new NotificationField <bool>();
 }
Example #10
0
 private void initFields()
 {
     Selected       = new NotificationField <bool>();
     Selected.Value = false;
 }
Example #11
0
 private void initFields()
 {
     Mode = new NotificationField <AdminMode>(handleViewModeChanged);
 }
Example #12
0
 private void initFields()
 {
     Error = new NotificationField <string>();
 }