private void OnControlAdded(object sender, TestControlEventArgs e) { AddView(e.Control, e.HtmlElement, e.ControlDisplayMode); }
 public void FireControlAdded(TestControlEventArgs e) { if (ControlAdded != null) ControlAdded(this, e); }
 private static void FireControlAdded(IView control, jQueryObject element)
 {
     TestControlEventArgs e = new TestControlEventArgs();
     e.Control = control;
     e.HtmlElement = element;
     e.ControlDisplayMode = DisplayMode;
     Events.FireControlAdded(e);
 }