Example #1
0
        private void PregledajPonuduBtn_Click(object sender, EventArgs e)
        {
            HttpResponseMessage response = UpitiService.GetActionResponse("GetPonudaID", Global.prijavljenaKompanija.KompanijaID.ToString(), UID.ToString());

            if (response.IsSuccessStatusCode)
            {
                Ponude.DetaljiPonude frm = new Ponude.DetaljiPonude(response.Content.ReadAsAsync <int>().Result);
                frm.ShowDialog();
            }
        }
Example #2
0
 private void PonudaBtn_Click(object sender, EventArgs e)
 {
     Ponude.DetaljiPonude frm = new Ponude.DetaljiPonude(s.PonudaID);
     frm.ShowDialog();
     Bind();
 }