public void NoviRaspored() { try { string ulaz = raspored.toString() + "[_]" + Tehnika.TehnikeSTR(tehnike); string data = POST("/Raspored", ulaz); raspored = new Raspored(data); Console.WriteLine(data); } catch (Exception e) { MessageBox.Show("Konekcija sa serverom nije uspela"); } }
private void Form1_Load(object sender, EventArgs e) { Ofarbaj(); Datum(); timer1.Start(); //// raspored = new Raspored("2@ | | "); tehnike = Tehnika.IzFajla(); NoviRaspored(); NapuniDropDown(); RefreshGUIRaspored(); comboBox1.SelectedIndex = 0; }