Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.60 KB | None | 0 0
  1. private void nextproposal_Click(object sender, EventArgs e)
  2.         {
  3.             if (jsonindex < rootjson.pagination.items)
  4.                 jsonindex++;
  5.             if (jsonindex < rootjson.pagination.items)
  6.             {
  7.                 int site = jsonindex / 3 + 1;
  8.                 int index = jsonindex % 3;
  9.                 if (rootjson.pagination.page != site)
  10.                     rootjson = getroot(site, textBoxquery.Text);
  11.                 setProposal(index);
  12.             }
  13.             else
  14.             {
  15.                 MessageBox.Show("You are through all Proposals");
  16.             }
  17.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement