Ejemplo n.º 1
0
 private void loadPageBtn_Click(object sender, EventArgs e)
 {
     core = new ParserCore(urlTextBox.Text);
     articleTitle.Text        = core.GetArticleTitle();
     topicComboBox.DataSource = core.GetTopicsList();
     prevCount = 0;
 }
Ejemplo n.º 2
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);
            }
        }
Ejemplo n.º 3
0
        public void TestMethod1()
        {
            var sut = new ParserCore();

            sut.Parse("");
        }
Ejemplo n.º 4
0
        public void TestMethod1()
        {
            var sut = new ParserCore();

            sut.Parse("");
        }