예제 #1
0
 private void Btn_Shrani_OnClick(object sender, RoutedEventArgs e)
 {
     Skrbnik s = new Skrbnik(
         "Ime",
         "Priimek",
         "telefon",
         1234);
     throw new NotImplementedException();
 }
예제 #2
0
        private void btnSharniNovegaSkrbnika_Click(object sender, RoutedEventArgs e)
        {
            //test
            Skrbnik s = new Skrbnik();

            s.Ime         = txtImeSkrbnikaRegister.Text;
            s.Priimek     = txtPriimekSkrbnikaRegister.Text;
            s.TelStevilka = txtTelefonskaSkrbnikaRegister.Text;
            int pin2 = int.Parse(txtPinSkrbnikaRegister.Text);

            pin2 = s.Pin;

            Baza.AddSkrbnik(s);
        }
        private void btnSharniNovegaSkrbnika_Click(object sender, RoutedEventArgs e)
        {
            //test
            Skrbnik s = new Skrbnik();

            s.Ime = txtImeSkrbnikaRegister.Text;
            s.Priimek = txtPriimekSkrbnikaRegister.Text;
            s.TelStevilka = txtTelefonskaSkrbnikaRegister.Text;
            int pin2 = int.Parse(txtPinSkrbnikaRegister.Text);
            pin2 = s.Pin;

            Baza.AddSkrbnik(s);

        }