Esempio n. 1
0
        private void btnDobavljaci_Click(object sender, EventArgs e)
        {
            FormPartner frm = new FormPartner();

            frm.DynamicFilters = new List <string>()
            {
                "dobavljac=true"
            };
            frm.AccessMode = Klase.Enums.AccessMode.LOOKUP;
            frm.ShowDialog();
            if (frm.Selected != null)
            {
                tbDobavljac.Text      = frm.Selected.Naziv;
                tbDobavljacSifra.Text = frm.Selected.Sifra.ToString();
            }
        }
Esempio n. 2
0
        private void btnPartneri_Click(object sender, EventArgs e)
        {
            FormPartner frm = new FormPartner();

            frm.DynamicFilters = new List <string>()
            {
                "kupac=true"
            };
            frm.AccessMode = Klase.Enums.AccessMode.LOOKUP;
            frm.ShowDialog();
            if (frm.Selected != null)
            {
                tbKupacSifra.Text    = frm.Selected.Sifra.ToString();
                tbKupac.Text         = frm.Selected.Naziv;
                tbKupacaTelefon.Text = frm.Selected.Telefon;
                tbEmail.Text         = frm.Selected.Email;
                tbAdresa.Text        = frm.Selected.Adresa;
                tbKupac.ReadOnly     = true;
            }
        }
Esempio n. 3
0
        private void btnPartneri_Click(object sender, EventArgs e)
        {
            FormPartner frm = new FormPartner();

            frm.ShowDialog();
        }