private void Ucitaj_Click(object sender, EventArgs e) { try { Baza baza = new Baza(); Server.Instance().igra(baza.ucitaj(listView1.SelectedItems[0].Text)); Sah s = new Sah(); s.pasvaluec = 1; s.Show(); this.Hide(); Server.Instance().server1(); } catch { label1.Text = "You must select a game"; } }