private void Setup_Click() { FormWikiSetup FormWS = new FormWikiSetup(); FormWS.ShowDialog(); if (FormWS.DialogResult != DialogResult.OK) { return; } if (WikiPageCur == null) //if browsing the WWW { 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(WikiPageCur.PageTitle); }
private void Setup_Click() { FormWikiSetup FormWS=new FormWikiSetup(); FormWS.ShowDialog(); if(FormWS.DialogResult!=DialogResult.OK) { return; } if(WikiPageCur==null) {//if browsing the WWW 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(WikiPageCur.PageTitle); }