0
我試圖添加這些代碼:什麼是 「System.Windows.Navigation」 組裝在Windows窗體應用程序
public partial class My_SyS : Form
{
List<Uri> HistoryStack;
int HistoryStack_Index;
bool fromHistory;
public Sisi_Start()
{
InitializeComponent();
HistoryStack = new List<Uri>();
HistoryStack_Index = 0;
fromHistory = false;
webBrowser_main.Navigated += new EventHandler<System.Windows.Navigation.NavigationEventArgs>(webBrowser_main_Navigated);
updateNavButtons();
}
....
這裏是webBrowser_main_Navigated
事件:
private void webBrowser_main_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e)
{
}
我得到了錯誤如下:
The type or namespace name 'Navigation' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)
其組裝我應該我們e供參考?