private void picbox_facebook_Click(object sender, EventArgs e) { ApiSend auth = new ApiSend(); string info = auth.Facebook_Auth(); if (info == null) { return; } string name = auth.Tr(info); if (name != "") { //RequestManager.LoginFacebook(name); } }
private void btn_facebook_Click(object sender, EventArgs e) { ApiSend apiAuth = new ApiSend(); string info = apiAuth.Facebook_Auth(); if (info == null) { return; } string name = apiAuth.Tr(info); if (name != null) { ServerOpen(); auth.LoginFacebook(name); } }
private void btn_gmail_Click(object sender, EventArgs e) { ApiSend apiAuth = new ApiSend(); string info = apiAuth.Google_Auth(); if (info == null) { return; } string name = apiAuth.Tr(info); if (name != "") { ServerOpen(); auth.LoginGmail(name); } }