public UCUnosClana() { InitializeComponent(); kki = new KontrolerKI(); kki.PopuniCMBUnosClana(cmbMesto, cmbKategorija, btnSacuvaj, kategorije); OcistiFormu(); }
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); }
private void btnLogin_Click(object sender, EventArgs e) { kki = new KontrolerKI(this); kki.Login(txtKorisnickoIme, txtSifra, epUsername, epPassword, lblConnect); }
private void btnSacuvaj_Click(object sender, EventArgs e) { kki = new KontrolerKI(this); kki.ObnavljanjeClanarine(clan, dtpVaziDo); }
private void FrmLogIN_DoubleClick(object sender, EventArgs e) { this.Text = KontrolerKI.poveziSeNaServer(); }
private void FrmLogIN_Load(object sender, EventArgs e) { //while(KontrolerKI.poveziSeNaServer().Contains("nije")) this.Text = KontrolerKI.poveziSeNaServer(); }