Пример #1
0
        public bool PresentCallback(int handle, string language, string policy_url, string verify_url, string optional_cookie)
        {
            if (ABC4TrustEvent != null)
            {
                PresentWorker pw = new PresentWorker(ABC4TrustEvent, handle, language, policy_url, verify_url, optional_cookie);

                Thread detectThread = new Thread(new ThreadStart(pw.doit));
                detectThread.Start();
                return(true);
            }
            else
            {
                System.Windows.Forms.MessageBox.Show("No EventHandler / Event for callback !!");
                return(false);
            }
        }
        public bool PresentCallback(int handle, string language, string policy_url, string verify_url, string optional_cookie)
        {

            if (ABC4TrustEvent != null)
            {
                PresentWorker pw = new PresentWorker(ABC4TrustEvent, handle, language, policy_url, verify_url, optional_cookie);

                Thread detectThread = new Thread(new ThreadStart(pw.doit));
                detectThread.Start();
                return true;
            }
            else
            {
                System.Windows.Forms.MessageBox.Show("No EventHandler / Event for callback !!");
                return false;
            }
        }