Answer the question
In order to leave comments, you need to log in
How can I fix the scaling/look of the Label?
There is a problem with the type of Labels. LOOKS VERY STRANGE.
Photo:
Code:
private void Parce()
{
try
{
WebBrowserFrameLoadEnded();
HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
doc.LoadHtml(html);
HtmlNodeCollection node = doc.DocumentNode.SelectNodes("//*[@id='gr_case_partps']/table/tbody/tr/td[1]/div/ul/li/span/a");
Plaintiffs.Text = "Истцы:\n" + node[0].InnerText.Replace(" ", "");
node = doc.DocumentNode.SelectNodes("//*[@id='gr_case_partps']/table/tbody/tr/td[2]/div/ul/li/span/a");
defendant.Text = "Ответчики:\n" + node[0].InnerText.Replace(" ", "");
node = doc.DocumentNode.SelectNodes("//*[@id='chrono_list_content']/div/div/div[1]/div[2]/h4/span[2]/span/a");
judje.Text = "Суд:\n" + node[0].InnerText.Replace(" ", "");
}
catch(Exception EXCEPTION)
{
MessageBox.Show(EXCEPTION.Message);
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question