private void button1_Click(object sender, EventArgs e) { s = new Session("7dda4ce4", 1); s.login(loginTextB.Text, hasloTextB.Text); if (s.SESSIONHANDLE != "") { ladowanieForm loadform = new ladowanieForm(); loadform.Show(); cat = new Categories(allegroService, webAPIKey, out verKey, out verString); catsData = allegroService.doGetCatsData(1, 0, webAPIKey, out verKey, out verString); this.Hide(); } hasloTextB.Text = ""; }
public Categories(AllegroWebApiService allegroService, string webAPIKey, out long verKey, out string verString) { this.allegroService = allegroService; catTree = allegroService.doGetCatsData(1, 0, webAPIKey, out verKey, out verString); }