I want to click on the last element using C#. I've converted click block to C# and got:
// Action designer, type RiseEvent
HtmlElement he = instance.ActiveTab.GetDocumentByAddress("0").FindElementByAttribute("span", "class", "value", "text", last);
if (he.IsVoid) return -1;
// Emulation delay...