private void UpdateNoteTitleFormCSFunc_Execute(object sender, Chromium.Remote.Event.CfrV8HandlerExecuteEventArgs e) { var array = e.Arguments.ToArray(); var noteID = array.GetValue(0).ToString(); var noteTitle = array.GetValue(1).ToString(); noteUtils.UpdateNoteTitle(Convert.ToInt32(noteID), noteTitle); }