private void loadPageBtn_Click(object sender, EventArgs e) { core = new ParserCore(urlTextBox.Text); articleTitle.Text = core.GetArticleTitle(); topicComboBox.DataSource = core.GetTopicsList(); prevCount = 0; }
private void parseBtn_Click(object sender, EventArgs e) { core = new ParserCore(urlTextBox.Text); List <AuthorData> objects = core.CreateAuthorsList(); try { parsingResultGrid.DataSource = objects; if (!String.IsNullOrEmpty(biblPatternTextBox.Text)) { bibliographTextBox.Text = core.GenerateBibliograpy(biblPatternTextBox.Text); } pageRangeTextBox.Text = core.GetPageRange(); doiTextBox.Text = core.GetDoi(); refsCountTextBox.Text = core.GetReferenceCount(); engTitleBtn_Click(this, null); } catch (Exception ex) { MessageBox.Show(ex.Message, "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public void TestMethod1() { var sut = new ParserCore(); sut.Parse(""); }
public void TestMethod1() { var sut = new ParserCore(); sut.Parse(""); }