private void Inc_Link_Click() { if (WikiPageCur == null) { return; } FormWikiIncomingLinks FormWIC = new FormWikiIncomingLinks(); FormWIC.PageTitleCur = WikiPageCur.PageTitle; FormWIC.ShowDialog(); if (FormWIC.DialogResult != DialogResult.OK) { return; } historyNavBack--; //We have to decrement historyNavBack to tell whether or not we need to branch our page history or add to page history LoadWikiPage(FormWIC.JumpToPage.PageTitle); }
private void Inc_Link_Click() { if(WikiPageCur==null) { return; } FormWikiIncomingLinks FormWIC = new FormWikiIncomingLinks(); FormWIC.PageTitleCur=WikiPageCur.PageTitle; FormWIC.ShowDialog(); if(FormWIC.DialogResult!=DialogResult.OK) { return; } historyNavBack--;//We have to decrement historyNavBack to tell whether or not we need to branch our page history or add to page history LoadWikiPage(FormWIC.JumpToPage.PageTitle); }