private void button1_Click(object sender, EventArgs e) { //dodajFizicko ProdavacInfo p = new ProdavacInfo(this, true); p.ShowDialog(); ucitajFizicka(); }
private void button2_Click(object sender, EventArgs e) { //izmeniFizicko if (listView1.SelectedItems.Count == 0) { MessageBox.Show("Odaberite prodavca klikom na njegov ID!"); return; } rbr_prodavca = listView1.SelectedItems[0].Index; ProdavacInfo p = new ProdavacInfo(this, false); p.ShowDialog(); ucitajFizicka(); }