public void ShowHideNote(string noteColor, CookieWebView web) { if (notesFlag[noteColor]) { web.Eval(JavascriptActions.ShowHighlight(noteColor)); notesFlag[noteColor] = false; } else { web.Eval(JavascriptActions.HideHighlight(noteColor)); notesFlag[noteColor] = true; } }