public UCUnosClana()
        {
            InitializeComponent();

            kki = new KontrolerKI();

            kki.PopuniCMBUnosClana(cmbMesto, cmbKategorija, btnSacuvaj, kategorije);
            OcistiFormu();
        }
Exemple #2
0
        private void btnPretrazi_Click(object sender, EventArgs e)
        {
            dgvClanoviIzaberi.DataSource            = clanovi;
            dgvClanoviIzaberi.Columns[0].HeaderText = "Članska karta";
            dgvClanoviIzaberi.Columns[6].HeaderText = "Važi do";
            dgvClanoviIzaberi.Columns[4].HeaderText = "Broj telefona";

            kki = new KontrolerKI();

            clanovi = kki.PretraziClanove(rbClKarta, rbIme, rbPrezime, txtClan, dgvClanoviIzaberi, clanovi);
        }
Exemple #3
0
 private void btnLogin_Click(object sender, EventArgs e)
 {
     kki = new KontrolerKI(this);
     kki.Login(txtKorisnickoIme, txtSifra, epUsername, epPassword, lblConnect);
 }
Exemple #4
0
 private void btnSacuvaj_Click(object sender, EventArgs e)
 {
     kki = new KontrolerKI(this);
     kki.ObnavljanjeClanarine(clan, dtpVaziDo);
 }
Exemple #5
0
 private void FrmLogIN_DoubleClick(object sender, EventArgs e)
 {
     this.Text = KontrolerKI.poveziSeNaServer();
 }
Exemple #6
0
 private void FrmLogIN_Load(object sender, EventArgs e)
 {
     //while(KontrolerKI.poveziSeNaServer().Contains("nije"))
     this.Text = KontrolerKI.poveziSeNaServer();
 }