왜 작동하지 않습니까? 다른 메서드에서 OnNavigatedTo (NavigationEventArgs e)를 호출하십시오.
내가이protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
{
base.OnNavigatedTo(e);
RequestAsync(new Uri(teamsite),
(html, exc) => {
if (exc == null) {
m_doc = new HtmlDocument();
Dispatcher.BeginInvoke(() => m_doc.LoadHtml(html));
xpathList.Items.Add(html);
}
else {
// handle exception appropriately
}
}
);
}
public void test()
{
this.OnNavigatedTo(NavigationEventArgs e)
}
난 형태 public void test()
protected override void OnNavigatedTo(NavigationEventArgs e)
로 이동할 수있는 방법이있어?
이 인수
를 제공해야? 무슨 컴파일 오류가 뭐야? –
정확히 * 작동하지 않는 것은 무엇입니까? – abatishchev