private void CrawlerReload(object sender, EventArgs e) { var lstCompanyID = new Queue <long>(); foreach (var rowView in lstCompanyID) { lstCompanyID.Enqueue(rowView); } var frmCrawlerData = new FrmCrawlerData(lstCompanyID, 1); frmCrawlerData.Show(); }
private void CrawlerFindNew(object sender, EventArgs e) { var lstCompanyId = new Queue <long>(); foreach (var cmp in eventGetCompanys()) { lstCompanyId.Enqueue(cmp); } var frmCrawlerData = new FrmCrawlerData(lstCompanyId, 1); frmCrawlerData.Show(); }