예제 #1
0
        private void frmBrowserWindow_Load(object sender, EventArgs e)
        {
            LoginVK loginController = new LoginVK();

            AuthorizationVK authrorizationController = new AuthorizationVK();
            int applicationId = 5002040;
            int scope = 1;

            //authrorizationController.authorize();
            webBrowser.Navigate(String.Format("http://api.vkontakte.ru/oauth/authorize?client_id={0}&scope={1}&display=popup&response_type=token", applicationId, scope));
        }
예제 #2
0
        private void frmBrowserWindow_Load(object sender, EventArgs e)
        {
            LoginVK loginController = new LoginVK();

            AuthorizationVK authrorizationController = new AuthorizationVK();
            int             applicationId            = 5002040;
            int             scope = 1;

            //authrorizationController.authorize();
            webBrowser.Navigate(String.Format("http://api.vkontakte.ru/oauth/authorize?client_id={0}&scope={1}&display=popup&response_type=token", applicationId, scope));
        }