示例#1
0
        private void StartNonDotNetSurvey()
        {
            this.WindowState = FormWindowState.Minimized;

            guiSurveyCls = new GUISurveyClass(dlgHandle);
            guiSurveyCls.StartGUISurvey();
            guiSurveyCls.StartMenuSurvey();
            SetGUIListToTest();

            this.WindowState = FormWindowState.Normal;
        }
        private void btnGUISurvey_Click(object sender, System.EventArgs e)
        {
            this.WindowState = FormWindowState.Minimized;

            try
            {
                guiSurveyCls = new GUISurveyClass((int)formUT.Handle);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }

            guiSurveyCls.StartGUISurvey();
            SetGUIListToTest();

            this.WindowState = FormWindowState.Normal;
        }