void frmMain_LoadEnd(Fly.FlyDialog Sender) { On("#butClick", "click", "{nomsg:'yes'}", (json) => { JObject Obj = (JObject)Newtonsoft.Json.JsonConvert.DeserializeObject(json); MsgBox(Obj["nomsg"].ToString()); }); On("#butPopup", "click", () => { MsgBox("this is a message"); }); On("#butExit", "click", () => { this.Close(); return("alert('exited');"); }); }
void frmMain_LoseFocus(Fly.FlyDialog Sender) { Js("hanfcef.UnFocus();"); }