private void DeleteNoteTitleFormCSFunc_Execute(object sender, Chromium.Remote.Event.CfrV8HandlerExecuteEventArgs e) { var noteID = e.Arguments.FirstOrDefault(p => p.IsString).ToString(); noteUtils.DeleteTitle(Convert.ToInt32(noteID)); }