public static void SetForm(this IFormInfo plus, Controller obj, string title = null, string actionUrl = null) { obj.ViewBag.action = (actionUrl == null ? obj.Request.Path : actionUrl); obj.ViewData["Title"] = (title == null?"无标题":title); }
public FormOverlayEventManager(IFormInfo par, FormOverlayBase olay) : base(par, olay) { parent = olay; parent.btnEfx.Click += delegate { loadFx(); }; }
public ClientInspector(IFormInfo ctl) { control = (IControlInfo)ctl; form = ctl; }