/// <summary> /// Punjenje comboboxa sa porezima /// </summary> private void UcitajPoreze() { BusinessLogic.Porez porez = new BusinessLogic.Porez(); cmbProizvodPorez.DataSource = porez.GetPorezComboBox(); cmbProizvodPorez.DataBind(); }
private void LoadComboPorez() { BusinessLogic.Porez porez = new BusinessLogic.Porez(); this.ComboBoxPorez.DataSource = porez.GetPorezComboBox(); this.ComboBoxPorez.DataBind(); }
private void ComboBoxPorez_ValueChanged(object sender, EventArgs e) { if (ComboBoxPorez.Value != null) { BusinessLogic.Porez porez = new BusinessLogic.Porez(); lbStopa.Text = porez.GetPorez((int)ComboBoxPorez.Value).FINPOREZSTOPA.ToString("N2"); IzracunajCijenu(); } }