コード例 #1
0
        /// <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);
        }
コード例 #2
0
ファイル: ControlViewElement.cs プロジェクト: olesar/Altaxo
 public ControlViewElement(string title, IMVCAController controller)
     : base(title, controller.ViewObject)
 {
     Controller = controller;
 }
コード例 #3
0
ファイル: ControlViewElement.cs プロジェクト: olesar/Altaxo
 public ControlViewElement(string title, IApplyController controller, object view)
     : base(title, view)
 {
     Controller = controller;
 }
コード例 #4
0
ファイル: ControlViewElement.cs プロジェクト: olesar/Altaxo
 public ControlViewElement(ControlViewElement from)
     : base(from)
 {
     Controller = from.Controller;
 }
コード例 #5
0
 /// <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);
 }
コード例 #6
0
 public ControlViewElement(string title, IMVCAController controller)
   : base(title,controller.ViewObject)
 {
   this.Controller = controller;
 }
コード例 #7
0
		public void AddTab(string title, IApplyController controller, object view)
		{
			_tabs.Add(new ControlViewElement(title, controller, view));
		}
コード例 #8
0
 public ControlViewElement(string title, IApplyController controller, object view)
   : base(title,view)
 {
   this.Controller = controller;
 }
コード例 #9
0
 public ControlViewElement(ControlViewElement from)
   : base(from)
 {
   this.Controller = from.Controller;
 }
コード例 #10
0
		/// <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);
		}
コード例 #11
0
		/// <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);
		}
コード例 #12
0
 public void AddTab(string title, IApplyController controller, object view)
 {
     _tabs.Add(new ControlViewElement(title, controller, view));
 }