Пример #1
0
        public bool IssueCallback(int handle, string language, string start_url, string step_url, string status_url, string optional_cookie)
        {
            if (ABC4TrustEvent != null)
            {
                IssueWorker iw = new IssueWorker(ABC4TrustEvent, handle, language, start_url, step_url, status_url, optional_cookie);

                Thread detectThread = new Thread(new ThreadStart(iw.doit));
                detectThread.Start();
                return(true);
            }
            else
            {
                System.Windows.Forms.MessageBox.Show("No EventHandler / Event for callback !!");
                return(false);
            }
        }
        public bool IssueCallback(int handle, string language, string start_url, string step_url, string status_url, string optional_cookie)
        {
            if (ABC4TrustEvent != null)
            {
                IssueWorker iw = new IssueWorker(ABC4TrustEvent, handle, language, start_url, step_url, status_url, optional_cookie);

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