Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
        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);
            }
        }