private void History_Click() { if (WikiPageCur == null) { return; } FormWikiHistory FormWH = new FormWikiHistory(); FormWH.PageTitleCur = WikiPageCur.PageTitle; FormWH.ShowDialog(); //historyNavBack--;//no need to decrement since we are loading the same page, possibly a different version, but the same PageTitle LoadWikiPage(FormWH.PageTitleCur); //if(FormWH.DialogResult!=DialogResult.OK) { // return; //} //Nothing to do here. }
private void History_Click() { if(WikiPageCur==null) { return; } FormWikiHistory FormWH = new FormWikiHistory(); FormWH.PageTitleCur=WikiPageCur.PageTitle; FormWH.ShowDialog(); //historyNavBack--;//no need to decrement since we are loading the same page, possibly a different version, but the same PageTitle LoadWikiPage(FormWH.PageTitleCur); //if(FormWH.DialogResult!=DialogResult.OK) { // return; //} //Nothing to do here. }