示例#1
0
        private void btnProd_Click(object sender, EventArgs e)
        {
            InsertRacuni();
            DohvatiIDRacuna();
            InsertStavke();
            metroGrid1.DataSource           = null;
            listaArtikla                    = new BindingList <Artikl>();
            StaticVarijable.ID_racun        = iDRacuna;
            StaticVarijable.iznos           = float.Parse(StaticVarijable.ukupanIznos.ToString());
            StaticVarijable.PrometKrajDana += float.Parse(StaticVarijable.ukupanIznos.ToString());
            frmReportRacun frmRep = new frmReportRacun();

            frmRep.ShowDialog();
            StaticVarijable.ukupanIznos = 0;
            lblIznos.Text = "0";
        }
示例#2
0
        private void btnPregled_Click(object sender, EventArgs e)
        {
            frmReportRacun frmReportRacun = new frmReportRacun();

            frmReportRacun.ShowDialog();
        }