Exemple #1
0
        public UnosAparata()
        {
            InitializeComponent();
            tipComboBox.DataSource    = tipRepo.getAll();
            tipComboBox.DisplayMember = "tip";
            tipComboBox.ValueMember   = "id";

            korisnikComboBox.DataSource    = korisnikRepo.getAll();
            korisnikComboBox.DisplayMember = "firma";
            korisnikComboBox.ValueMember   = "id";
        }
Exemple #2
0
 private void UnosTipa_Load(object sender, EventArgs e)
 {
     dataGridView1.DataSource = tipRepo.getAll();
 }