private void ButtonTestPage_Click(object sender, EventArgs e) { GetParametres(); BTest = false; //GetParametres(); IfExtract = false; Hashtable tmp_params = Parametres; tmp_params["InAnnonce"] = @"Annonce:::NoExist ;;;"; WebForm webform1 = new WebForm(IfExtract, tmp_params); //webform1.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(webform1.webBrowser1_DocumentCompleted); webform1.ShowDialog(); }
private void ButtonTest_Click(object sender, EventArgs e) { //MessageBox.Show("2B TEST"); GetParametres(); BTest = false; //GetParametres(); IfExtract = false; Hashtable tmp_params = Parametres; DialogResult dr4 = MessageBox.Show("Do you want to do a test just the pages(no annonces)?", "Yes or No", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2); if (dr4 == DialogResult.Yes) { tmp_params["InAnnonce"] = @"Annonce:::NoExist ;;;"; } WebForm webform1 = new WebForm(IfExtract, tmp_params); //webform1.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(webform1.webBrowser1_DocumentCompleted); webform1.ShowDialog(); //return BTest; }
private void ButtonExtract_Click(object sender, EventArgs e) { GetParametres(); IfExtract = true; WebForm wb = new WebForm(IfExtract, Parametres); wb.ShowDialog(); }