/// <summary> /// Creates the controller. /// </summary> /// <param name="view">The view this controller is controlling.</param> /// <param name="hostedController">The controller that controls the UserControl shown in the client area of the form.</param> /// <param name="title">Title of the dialog.</param> /// <param name="applyvisible">Indicates if the Apply button is visible or not.</param> public DialogShellController( IDialogShellView view, IApplyController hostedController, string title, bool applyvisible) { View = view; _hostedController = hostedController; _title = title; _isApplyVisible = applyvisible; SetElements(true); }
public ControlViewElement(string title, IMVCAController controller) : base(title, controller.ViewObject) { Controller = controller; }
public ControlViewElement(string title, IApplyController controller, object view) : base(title, view) { Controller = controller; }
public ControlViewElement(ControlViewElement from) : base(from) { Controller = from.Controller; }
/// <summary> /// Creates the controller. /// </summary> /// <param name="view">The view this controller is controlling.</param> /// <param name="hostedController">The controller that controls the UserControl shown in the client area of the form.</param> public DialogShellController(IDialogShellView view, IApplyController hostedController) { View = view; _hostedController = hostedController; SetElements(true); }
public ControlViewElement(string title, IMVCAController controller) : base(title,controller.ViewObject) { this.Controller = controller; }
public void AddTab(string title, IApplyController controller, object view) { _tabs.Add(new ControlViewElement(title, controller, view)); }
public ControlViewElement(string title, IApplyController controller, object view) : base(title,view) { this.Controller = controller; }
public ControlViewElement(ControlViewElement from) : base(from) { this.Controller = from.Controller; }