예제 #1
0
        /// <summary>
        /// Initializes a new instance for the <see cref="SignUpPageViewModel" /> class.
        /// </summary>
        public SignUpPageViewModel(INavigation navigation)
        {
            this.LoginCommand  = new Command(() => this.LoginClicked());
            this.SignUpCommand = new Command(async() => await this.SignUpClicked());

            Spolovi.Add("Muski");
            Spolovi.Add("Zenski");

            this.navigation = navigation;
        }
예제 #2
0
 private static void UcitajSpolove()
 {
     Spolovi.Add(new Spol()
     {
         Id = 1, Naziv = "********"
     });
     Spolovi.Add(new Spol()
     {
         Id = 2, Naziv = "Ženski"
     });
     Spolovi.Add(new Spol()
     {
         Id = 3, Naziv = "Muški"
     });
 }
예제 #3
0
 private static void DodajSpolove()
 {
     Spolovi.Add("Muški");
     Spolovi.Add("Ženski");
     Spolovi.Add("*****");
 }