Beispiel #1
0
        private void btnPovratak_Click(object sender, EventArgs e)
        {
            FrmGlavniIzbornik frm = new FrmGlavniIzbornik();

            this.Hide();
            frm.ShowDialog();
            this.Close();
        }
Beispiel #2
0
        private void btnIzdaj_Click(object sender, EventArgs e)
        {
            racun  odabraniRacun  = racunBindingSource.Current as racun;
            string imeZaposlenika = cmbZaposlenik.Text;

            NoviRacun noviRacun = new NoviRacun();

            noviRacun.IzdajRacun(odabraniRacun, float.Parse(txtZaPlatiti.Text), rTxtStavke.Text, imeZaposlenika);

            FrmGlavniIzbornik frm = new FrmGlavniIzbornik();

            this.Hide();
            frm.ShowDialog();
            this.Close();
        }